mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Unaccepted tcp connections
@ 2003-06-19 15:24 Steve G
  0 siblings, 0 replies; only message in thread
From: Steve G @ 2003-06-19 15:24 UTC (permalink / raw)
  To: linux-kernel

Hello,

This e-mail is offtopic but is related to the networking
code. I am working on an inet daemon that listens for tcp
connections and passes the descriptor returned by listen to
a child program to handle. It turns out that many child
programs error during startup and exit without accepting
the connection (linuxconf is one of them). The daemon that
listens sees the descriptor as readable and starts a new
child. This can loop forever.

The question is how can a parent process reliably determine
that its child has accepted the connection? Also, is it
possible to tell anything about a connection that has
returned from listen but not yet accepted? For instance the
source IP address?

Thanks,
Steve Grubb

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-19 15:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-19 15:24 Unaccepted tcp connections Steve G

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®