python socket query
rosuav at gmail.com
Tue Dec 24 04:54:52 CET 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:
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:
More information about the Python-list