Update to new protocol

This commit is contained in:
Ammar Askar committed 2012-12-21 03:06:35 +05:00
1 parent a6bc0b722d
commit cff8c7ea8d
2 files changed
+10 -4

No files matched your search

+1 -1
View File
@@ -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)