As I said I am most likely to have made an error, being a newbie and
all that. Here is the offending function. I said i would not post
source code but there you go...

As I said I plan to change this function, so it will no doubt be out of
date quite soon.

def senddata(msg):
    host = "localhost"
    port = 21568
    buf = 1024
    addr = (host,port)

    UDPSock = socket(AF_INET,SOCK_DGRAM)
    UDPSock.sendto(msg,addr)
    UDPSock.close()

cheers,

rod

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to