thanks for the response. No, that is not all of my code. (The actual full program includes around 800 lines of code) Most of it is not related to my socket issue, but I did realize I may have left out key part of my problem. Before I listen on the socket, I send a message:
# create udp socket
mysocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
# allow send/recieve from broacast address
# allow the socket to be re-used
# send broadcast packet (this packet is sent successfully.)
# wait for a (response) message for 30 seconds.
#this times out every time.
data = mysocketsocket.recv(1024)
Thanks for the pointer to that guide, for others in my position . . .
Here is a very useful guide that I started with: http://www.scribd.com/doc/134861/Soc...ng-with-python
The man page for socket
is also useful.