mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-07 15:24:00 +00:00
Merge branch 'develop' into server_queue
This commit is contained in:
commit
c2b3093bb5
8 changed files with 21 additions and 14 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