mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Filipe Cabecinhas <filcab@gmail.com>
To: "linux-os (Dick Johnson)" <linux-os@analogic.com>
Cc: Linux kernel <linux-kernel@vger.kernel.org>,
	Nuno Lopes <ncpl@mega.ist.utl.pt>,
	Renato Crissstomo <racc@mega.ist.utl.pt>
Subject: Re: Possible problem in fcntl
Date: Tue, 13 Dec 2005 20:42:49 +0000	[thread overview]
Message-ID: <e46c534c0512131242n3ad87709kfd0fc9238137f897@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0512131337240.8529@chaos.analogic.com>

> 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

      reply	other threads:[~2005-12-13 20:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-13 15:56 Filipe Cabecinhas
2005-12-13 17:50 ` linux-os (Dick Johnson)
2005-12-13 18:30   ` Filipe Cabecinhas
2005-12-13 18:46     ` linux-os (Dick Johnson)
2005-12-13 20:42       ` Filipe Cabecinhas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e46c534c0512131242n3ad87709kfd0fc9238137f897@mail.gmail.com \
    --to=filcab@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-os@analogic.com \
    --cc=ncpl@mega.ist.utl.pt \
    --cc=racc@mega.ist.utl.pt \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®