Re: receiving data with soreceive
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com What do you mean by so upcall? Are you calling soreceive in an so upcall? If so, try setting MSG_DONTWAIT in the flags, and that should give you everything that is in the so buf at that point. MSG_DONTWAIT tells the socket not to block. For the auio resid, use M_COPYALL. HTH. Brian Bergstrand <http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2 -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.0.1 (Build 2130) iQA/AwUBQoZ0vXnR2Fu2x7aiEQLP8QCeM2wsh6mIbDi514BBMV4MkJtSR/kAoOxB eBJFV8TZ3sJqlN1UzwXqcNW2 =30xf -----END PGP SIGNATURE----- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Bijoy Thomas