python socket query

Chris Angelico rosuav at gmail.com
Mon Dec 23 22:54:52 EST 2013


On Tue, Dec 24, 2013 at 2:33 PM,  <smilesonisamal at gmail.com> wrote:
> Thanks Chris.I have put bind call but it did not work.
> Even telnet hangs if i tried to connect to the same IP and port manually. Is there a workaround to fix this issue?
>
> If the socket gets closed at the other end. How can we get around with the issue? Any idea?

Normally, bind isn't necessary for client connections. It's almost
never significant, unless you have multiple IP addresses or you
actually need to specify the port.

If telnet hangs, you need to figure out what your server is doing.
Without knowing the server at all, I can't really help.

But please, have a look at how your post comes out:

https://mail.python.org/pipermail/python-list/2013-December/663308.html

All those messy blank lines are because of Google Groups. There are
other problems, as well. Please, can you switch to a better client, so
we don't have to wade through that mess? Mozilla Thunderbird is one
good option, or you can join the mailing list:

https://mail.python.org/mailman/listinfo/python-list

Thanks!

ChrisA



More information about the Python-list mailing list