From b0a2a305028bf284fc5dcf7e1a696d85787f128f Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Mon, 8 Nov 2010 00:59:14 +0100 Subject: Add the sleekxmpp library (will be added as a submodule later) --- sleekxmpp/xmlstream/testclient.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sleekxmpp/xmlstream/testclient.py (limited to 'sleekxmpp/xmlstream/testclient.py') diff --git a/sleekxmpp/xmlstream/testclient.py b/sleekxmpp/xmlstream/testclient.py new file mode 100644 index 0000000..50eb6c5 --- /dev/null +++ b/sleekxmpp/xmlstream/testclient.py @@ -0,0 +1,13 @@ +import socket +import time + +s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +s.connect(('localhost', 5228)) +s.send("") +#s.flush() +s.send("") +s.send("") +s.send("") +s.send("") +#s.flush() +s.close() -- cgit v1.2.3-70-g09d2