Added packet colater and descriminator.

This commit is contained in:
ProfMobius committed 2014-10-02 03:31:10 +02:00
1 parent 2b081c955b
commit 5d9e5b6806
3 files changed
+59 -8

No files matched your search

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