Update to new protocol
This commit is contained in:
1 parent
a6bc0b722d
commit
cff8c7ea8d
2 files changed
+10
-4
No files matched your search
@@ -12,7 +12,7 @@ def sendHandshake(socket, username, host, port):
|
||||
socket.send("\x02")
|
||||
|
||||
#byte - protocol version
|
||||
DataUtil.sendByte(socket, 49)
|
||||
DataUtil.sendByte(socket, 51)
|
||||
|
||||
#string - username
|
||||
DataUtil.sendString(socket, username)
|
||||
|
||||
Reference in new issue
Block a user