listening socket doesnt answer

Alexander K ak42 at altavista.com
Mon Oct 2 06:35:08 EDT 2000


well i found the problem myself.
but i still wonder about the address/proto families and .bind().


Alexander K wrote:
> 
> hostname = gethostbyname(gethostname())[0]

i had confused gethostbyname() with gethostbyaddr(), which i had
used before, and which returns a tuple, not a string...


   tia / alex k
.
.
... ~~~:[ com dot altavista at ak42 ]:~~~ ...



More information about the Python-list mailing list