lkml.org 
[lkml]   [2005]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Possible problem in fcntl
> How do you know what wget did after the connection was refused?
> Didn't it close its socket when returning to the shell?

If we have the call to fcntl, the following happens:
Telnet: SYN
Server: SYN, ACK
T: ACK
S: FIN, ACK
T: FIN, ACK
S: ACK

There was no data exchanged. It just accepted the connection, and then
finished it.

Without the call to fcntl everything goes normally:
T: SYN
S: SYN, ACK
T: ACK
T: PSH, ACK (HTTP request)
S: ACK
S: PSH, ACK (HTTP header)
T: ACK
S: PSH, ACK (data)
T: ACK
S: FIN, ACK
T: ACK
T: FIN, ACK
S: ACK

Thanks in advance,

Filipe Cabecinhas
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-13 21:45    [W:0.032 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site