Networking Forums

Networking Forums > Computer Networking > Linux Networking > TCP connect problem.

Reply
Thread Tools Display Modes

TCP connect problem.

 
 
bleckey@tpgwibble.com.au
Guest
Posts: n/a

 
      05-04-2004, 12:50 AM
I have the following situation:
My server does a listen/accept pair for an incoming connection.
My client does a connect to the port on the server and in most cases a
TCP link is established.

However, every now and again the server will dissapear at about the same
time as the client is calling 'connect'. What I then see is:
* if I do a 'netstat -ap' on the client machine, I don't see the socket
the client made to get the connection. Presumably it's been cleaned up
* The connect statement never returns.

As you may guess, the socket doing the 'connect' is non-blocking. I
assumed that it would either fail if the other end wasn't listening, or
timeout or similar.

I'm wondering if it's the fact that the initial TCP handshake has begun,
and then the Server has torn down it's end that may be causing this?

Under what conditions will connect not return at all?

Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New connect problem L. Wireless Networks 18 06-14-2007 06:15 PM
Wireless problem (can't connect) Jim Wireless Internet 3 07-01-2006 04:34 PM
Problem with net connect - Linksys OVS Wireless Internet 0 09-09-2004 10:19 PM
Pipex connect problem Russell Broadband 7 07-11-2004 05:33 PM
HELP - WEIRD problem. Cannot connect to netscape.com from XP Sako Linux Networking 3 12-16-2003 01:13 PM



1 2 3 4 5 6 7 8 9 10 11