Re: blocking on recv saves a copy op?
Re: blocking on recv saves a copy op?
- Subject: Re: blocking on recv saves a copy op?
- From: Quinn <email@hidden>
- Date: Fri, 24 Mar 2006 09:49:03 +0000
At 19:55 -0800 23/3/06, Tim Dorcey wrote:
If I wait on select (or kqueue event) to signal the
arrival of (UDP) data before calling recvfrom, is that going to cost an
extra memory copy, versus having the socket block on recvfrom?
No. With sockets (at least on Mac OS X), you always get a copy.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden