(E-Mail Removed) wrote:
> Two Linux machines: embedded ( client ) and Ubuntu ( server ).
> Everything works fine If the server is UP and listening when the
> client tries to connect.
> But if the server is not UP yet, then the client calls connect, it
> fails ( which is OK ), but then I sleep(1) and try to connect again.
> Then I start the server and I would expect the next connect call to
> work fine, but it does not, it keeps failing for a while and then
> after
> a looooong time ( 30s or so ) it works.
> I have capture the packets, I am not sure if I should post it here
> and in what format, I can see that after the server is UP, SYN ACKs
> are sent back from the server to the client, but the client just keep
> seending more SYNs.
>
are the tcp isn numbers correct ?
seems like a complete tcp connection isn't established
correctly
> Thanks is advance for any comments.