On Tue, Apr 26, 2011 at 6:24 AM, Hans Georg Schaathun <h...@schaathun.net> 
wrote:
> Hmmm.  socket.INADDR_ANY is an integer and bind insists on a string
> for the hostname (Python 2.6).  Is there any use for the integer
> constant?  "0.0.0.0" does exactly what I wanted though.  Thanks again.

Apologies - I've done most of my sockets programming in C, where the
integer constant is applicable. 0.0.0.0 means the exact same thing.

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

Reply via email to