reactos/rostests/tests/oskittcp/cmd_oskit.py
Aleksey Bragin 2199ae9003 Move tests from rosapps to rostests
svn path=/trunk/; revision=26010
2007-03-06 11:10:43 +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)