reactos/rosapps/tests/oskittcp/cmd_oskit.py
Steven Edwards 5368a4c682 Moving the tests.....still more....
svn path=/trunk/; revision=11362
2004-10-21 04:59:01 +00:00

10 lines
182 B
Python

from socket import *
import sys
s = socket(AF_INET,SOCK_DGRAM,0)
s.connect(('localhost',5001))
while 1:
sys.stdout.write('>> ')
line = sys.stdin.readline()
s.send('CMD ' + line)