mirror of
https://github.com/besterprotocol/besterd
synced 2023-12-13 21:00:32 +01:00
Added \'close\' command (actually)
This commit is contained in:
parent
466ab544c2
commit
602a152843
|
@ -761,7 +761,7 @@ private class BesterConnection : Thread
|
|||
else if(cmp(commandType, "close") == 0)
|
||||
{
|
||||
debugPrint("Closing socket...");
|
||||
chosenHandler.getSocket();
|
||||
chosenHandler.getSocket().close();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -9,7 +9,6 @@ def basicTest():
|
|||
print(bys)
|
||||
d.send(bytes([len(bys),0,0,0]))
|
||||
d.send(bys.encode())
|
||||
while True: pass
|
||||
d.close()
|
||||
|
||||
def simpleTest():
|
||||
|
|
Loading…
Reference in a new issue