Re: when send() function returns?
- From: Rick Jones <rick.jones2@xxxxxx>
- Date: Thu, 22 Jun 2006 21:17:38 GMT
Sean <srkang@xxxxxxxxxxxx> wrote:
I am still not clear what's going on between send() call and actual
sending. Is there any way to achieve that I want as I described in
previous message?
Being able to just call send() on a UDP socket and "know" that the
datagram was sent? No. At least not with just the one system.
Based on my experiences with netperf, Linux does seem to have
"intra-stack" flow control (try a netperf UDP_STREAM test), but even
that does not _REALLY_ mean that every send() call you make becomes a
packet on the wire.
To _REALLY_ know, without getting hip-deep in the kernel, you have to
know that it was received by another system. That is what the netperf
UDP_STREAM test does. Of course, now you are concerned not only with
did the packet get out the host OK, but did it get up the other host
to the receiving app OK.
rick jones
--
a wide gulf separates "what if" from "if only"
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
.
- References:
- when send() function returns?
- From: Sean
- Re: when send() function returns?
- From: Phil Frisbie, Jr.
- Re: when send() function returns?
- From: Sean
- Re: when send() function returns?
- From: Phil Frisbie, Jr.
- Re: when send() function returns?
- From: Sean
- Re: when send() function returns?
- From: Rick Jones
- Re: when send() function returns?
- From: Sean
- when send() function returns?
- Prev by Date: Re: How to update iptables to restrict LAN computer Internet?
- Next by Date: Re: Hylafax - Weiterleitung Faxe per Email
- Previous by thread: Re: when send() function returns?
- Next by thread: print server compatiblie with fedora and CUPS socket connection
- Index(es):
Relevant Pages
|
|