diff options
author | Russell Cohen <rcoh@mit.edu> | 2010-11-29 00:00:26 -0500 |
---|---|---|
committer | Russell Cohen <rcoh@mit.edu> | 2010-11-29 00:00:26 -0500 |
commit | cf1f2224b3625b01a6aa7db221403849b308b3bc (patch) | |
tree | 9ad55077f45efc7a8434688332ee281a28a1cae7 /inputs/UDPInput.py | |
parent | 9c9babfa7032b443138c4b457aabaf79fad385b3 (diff) |
Making recursive behaviors work. Some bugs existed before. Adding running
behavior which makes a signal bounce back and forth.
Diffstat (limited to 'inputs/UDPInput.py')
-rw-r--r-- | inputs/UDPInput.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/inputs/UDPInput.py b/inputs/UDPInput.py index b0d6c93..5b83792 100644 --- a/inputs/UDPInput.py +++ b/inputs/UDPInput.py @@ -7,11 +7,8 @@ class UDPInput(Input): PORT = self.argDict['Port'] # Arbitrary non-privileged port self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) self.sock.bind((HOST, PORT)) - print 'UDPINIT' def sensingLoop(self): - print 'udploop' (data,address) = self.sock.recvfrom(1024) dataDict = {'data':data, 'address':address} - print 'LOLOLOLOL' self.respond(dataDict) |