diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2007-12-16 03:55:55 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2007-12-16 03:55:55 +0100 |
commit | 46e7de3b304e82755d1073471781806b2cfc4bcb (patch) | |
tree | 3e9caec255fc105749cd3286ab47fbc9f5ab3ca0 /skype/client.py | |
parent | 31b4793afbb7744c7b72de361fbce840c85ab0d5 (diff) |
convert client.c to py
it's for testing purposes only and i hate to recompile it again and again ;)
Diffstat (limited to 'skype/client.py')
-rw-r--r-- | skype/client.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/skype/client.py b/skype/client.py new file mode 100644 index 00000000..378a4660 --- /dev/null +++ b/skype/client.py @@ -0,0 +1,7 @@ +import socket + +client = socket.socket ( socket.AF_INET, socket.SOCK_STREAM ) +client.connect ( ( 'localhost', 2727 ) ) + +client.send("GET USERSTATUS") +print client.recv(1024) |