From cf1f2224b3625b01a6aa7db221403849b308b3bc Mon Sep 17 00:00:00 2001 From: Russell Cohen Date: Mon, 29 Nov 2010 00:00:26 -0500 Subject: Making recursive behaviors work. Some bugs existed before. Adding running behavior which makes a signal bounce back and forth. --- inputs/UDPInput.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'inputs/UDPInput.py') 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) -- cgit v1.2.3