• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: blocking on recv saves a copy op?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >blocking on recv saves a copy op? (From: "Tim Dorcey" <email@hidden>)

  • Prev by Date: blocking on recv saves a copy op?
  • Next by Date: Re: Redirect IP connection based on MAC address / IP address
  • Previous by thread: blocking on recv saves a copy op?
  • Next by thread: Re: Redirect IP connection based on MAC address / IP address Squid proxy server
  • Index(es):
    • Date
    • Thread