Re: connection termiated (LINUX)

2007-09-19 Thread Milan Křápek
I thing I have finally found where the problem is. When the TCP connection is interrupted (pulling out network cable) there are some timeouts set for TCP connection. Defaultly on LINUX systems, theese configuration items, that sets TCP timeouts are in /proc/sys/net/ipv4/[tcp_keepalive_...]. I h

Re: connection termiated (LINUX)

2007-09-16 Thread jimmy bahuleyan
Milan Křápek wrote: > Well I tryed to do recogniting of abort connection by select. But it does not > help. I try to wait on the third set of select function that may contains the > filedescriptors that determines sockets on which is reported some error. But > it does not work too. It looks like

Re: connection termiated (LINUX)

2007-09-16 Thread Milan Křápek
Well I tryed to do recogniting of abort connection by select. But it does not help. I try to wait on the third set of select function that may contains the filedescriptors that determines sockets on which is reported some error. But it does not work too. It looks like the socket is ok. Why I thi

Re: connection termiated (LINUX)

2007-09-16 Thread jimmy bahuleyan
Milan Křápek wrote: > Hi, > I have problem. I am creating client application that send to server some > data via TCP or TLS protocol. For both the TCP and TLS I use the openssl > library. I am using unblocking BIO. And I have this problem with recognizing > if connection is aborted. > >

connection termiated (LINUX)

2007-09-16 Thread Milan Křápek
Hi, I have problem. I am creating client application that send to server some data via TCP or TLS protocol. For both the TCP and TLS I use the openssl library. I am using unblocking BIO. And I have this problem with recognizing if connection is aborted. I am trying to read from bio e