mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-23 21:49:42 +00:00
Added packet colater and descriminator.
This commit is contained in:
1 parent
2b081c955b
commit
5d9e5b6806
3 files changed
+59
-8
No files matched your search
@@ -6,7 +6,7 @@ class ClientTest(asyncore.dispatcher):
|
||||
asyncore.dispatcher.__init__(self)
|
||||
self.create_socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
self.connect( (host, port) )
|
||||
self.buffer = "Test"
|
||||
self.buffer = "\x00\x00\x00\x00\x00"
|
||||
|
||||
def handle_connect(self):
|
||||
print "handle_connect"
|
||||
|
||||
Reference in new issue
Block a user