Re: CFSocket and Raw Ethernet
Re: CFSocket and Raw Ethernet
- Subject: Re: CFSocket and Raw Ethernet
- From: Douglas Davidson <email@hidden>
- Date: Fri, 1 Aug 2003 14:48:15 -0700
On Friday, August 1, 2003, at 02:28 PM, Duane Murphy wrote:
I am using CFSocket with a raw ethernet socket. I am using a
kCFSocketReadCallBack callback. Do I still use recvfrom() to read the
data? Or is there something else I should be doing?
CFSocket will simply notify you when there is data available on the
socket. You should then use whatever BSD-level APIs you would
otherwise use with a socket of this type to receive the data.
Douglas Davidson
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.