Re: sending file using CFSocket
Re: sending file using CFSocket
- Subject: Re: sending file using CFSocket
- From: Jens Alfke <email@hidden>
- Date: Mon, 9 Jun 2008 07:48:28 -0700
On 9 Jun '08, at 7:43 AM, sunil prajapati wrote:
When I use CFSocketSendData api to send the data to my client it
does not return what amount of byte it sent to client like "send"
api return the number of byte it sent.
I haven't used CFSocketSendData. It may only be intended to send UDP
packets.
As I said, you probably want to use CFStream instead to communicate
over TCP streams.
Or you could always call CFSocketGetNative to get the BSD socket
handle and call send on that...
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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