On Tue, Dec 24, 2013 at 2:33 PM, 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
On Monday, December 23, 2013 8:49:30 AM UTC+5:30, Chris Angelico wrote:
> On Mon, Dec 23, 2013 at 2:05 PM, wrote:
>
> > I wrote a small program which creates the socket, bind to the socket,
> > connect to socket and send() close(). I see that there is no reply coming
> > from server and the TC
smilesonisa...@gmail.com writes:
> Hi,
>I am trying to write a TCP socket program in python. I am using python 2.6
> in linux.
>
> I referred following link:
> http://www.ibm.com/developerworks/linux/tutorials/l-pysocks/section4.html
> I am actually writing the client-side stream socket.
> I
On Mon, Dec 23, 2013 at 2:05 PM, wrote:
> I wrote a small program which creates the socket, bind to the socket, connect
> to socket and send() close(). I see that there is no reply coming from server
> and the TCP disconnect happens.
> import socket
>
> def tcp(host, request, port=34567):
>
> s