##// END OF EJS Templates
First beam is loaded by default after sending the beam file to the control modules.
First beam is loaded by default after sending the beam file to the control modules.

File last commit:

r58:59
r231:232
Show More
client.py
13 lines | 354 B | text/x-python | PythonLexer
import socket
import select
dgramSock = socket.socket( socket.AF_INET, socket.SOCK_DGRAM )
#dgramSock.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
#dgramSock.setblocking(0)
dgramSock.sendto( "Hello World\n", ('192.168.1.117', 7000) )
ready = select.select ([dgramSock],[],[],35)
if ready[0]:
print dgramSock.recv( 100 )
dgramSock.close()