mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-10 00:33:59 +00:00
combine some todos
This commit is contained in:
parent
63117a4bc5
commit
d95ab7781e
3 changed files with 2 additions and 5 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue