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 | |
---|
1 | import socket |
---|
2 | |
---|
3 | client = socket.socket ( socket.AF_INET, socket.SOCK_STREAM ) |
---|
4 | client.connect ( ( 'localhost', 2727 ) ) |
---|
5 | |
---|
6 | client.send("GET USERSTATUS") |
---|
7 | print client.recv(1024) |
---|
Note: See
TracBrowser
for help on using the repository browser.