Hi,
On 2014-12-23 18:56, Marius Liebenberg wrote:
> *Snippet of the script:*
> data = " ".join(sys.argv[3:])
> print ("data = ", data)
>
> sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
>
> try:
> while 1:
> sock.sendto(data + "\n", (HOST, PORT))
port should be a string port name or a numeric port number.
Try int(PORT).
https://docs.python.org/2/library/socket.html#socket.getnameinfo
--
"In der Wissenschaft siegt nie eine neue Theorie,
nur ihre Gegner sterben nach und nach"
Max Planck
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers