socket question

Jason Orendorff jason at jorendorff.com
Sun Dec 16 14:17:20 EST 2001


> The server should call udpSerSock.bind( ('10.1.1.27', 21567) )
> before it issues the recvfrom() call - otherwise, how is the
> server's UDP layer to know which interface and address to
> listen on?

This is a red herring.  udpSerSock is not intended to listen for
packets, only to send one.

-- 
Jason Orendorff    http://www.jorendorff.com/





More information about the Python-list mailing list