fixed logic errors

This commit is contained in:
Roel 2014-05-16 01:39:12 +02:00
parent 7b1c6566ae
commit cebc2ebf71

View File

@ -109,7 +109,7 @@ Discover other devices by listening to the Meshenger announce port
""" """
print 'Discovering' print 'Discovering'
bufferSize = 1024 # whatever you need bufferSize = 1024 # whatever you need?
s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM, socket.IPPROTO_UDP) s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM, socket.IPPROTO_UDP)
s.bind(('::', self.announce_port)) s.bind(('::', self.announce_port))