Merge branch 'develop' into server_queue

This commit is contained in:
Bastian Schroll 2018-09-21 12:53:06 +02:00 committed by GitHub
commit c2b3093bb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 21 additions and 14 deletions

View file

@ -91,8 +91,7 @@ try:
bwPacket.addClientData()
bwClient.transmit(str(bwPacket))
# todo should we do this in an thread, to not block receiving ???
# todo but then we should use transmit() and receive() with Lock()
# todo should we do this in an thread, to not block receiving ??? but then we should use transmit() and receive() with Lock()
failedTransmits = 0
while not bwClient.receive() == "[ack]": # wait for ack or timeout
if failedTransmits >= 3: