source:
skype/client.py
@
3511d80
Last change on this file since 3511d80 was 737e9d9, checked in by , at 2007-12-16T02:55:55Z | |
---|---|
|
|
File size: 173 bytes |
Rev | Line | |
---|---|---|
[737e9d9] | 1 | import socket, sys |
[46e7de3] | 2 | |
3 | client = socket.socket ( socket.AF_INET, socket.SOCK_STREAM ) | |
4 | client.connect ( ( 'localhost', 2727 ) ) | |
5 | ||
[737e9d9] | 6 | client.send(sys.argv[1]) |
[46e7de3] | 7 | print client.recv(1024) |
Note: See TracBrowser
for help on using the repository browser.