fixed logic errors
This commit is contained in:
parent
7b1c6566ae
commit
cebc2ebf71
2
main.py
2
main.py
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user