socket question

Steve Holden sholden at holdenweb.com
Mon Dec 17 08:08:56 EST 2001


"Jason Orendorff" <jason at jorendorff.com> wrote in message
news:mailman.1008530480.16525.python-list at python.org...
> > 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.
>
In which case, calling the program that uses it a "server" seems to be a
little misleading in terms of conventional client/server structures!

they-also-serve-who-only-stand-and-wait-ly y'rs  - steve
--
http://www.holdenweb.com/








More information about the Python-list mailing list