source: skype/client.py @ 46e7de3

Last change on this file since 46e7de3 was 46e7de3, checked in by Miklos Vajna <vmiklos@…>, at 2007-12-16T02:55:55Z

convert client.c to py
it's for testing purposes only and i hate to recompile it again and again ;)

  • Property mode set to 100644
File size: 173 bytes
Line 
1import socket
2
3client = socket.socket ( socket.AF_INET, socket.SOCK_STREAM )
4client.connect ( ( 'localhost', 2727 ) )
5
6client.send("GET USERSTATUS")
7print client.recv(1024)
Note: See TracBrowser for help on using the repository browser.