Re: sending file using CFSocket
Re: sending file using CFSocket
- Subject: Re: sending file using CFSocket
- From: "sunil prajapati" <email@hidden>
- Date: Wed, 11 Jun 2008 13:19:01 +0530
thanks for your help.
I able to resolved my problem using CFSocketGetNative api as suggested by you.
Thanks,
Sunil.
On Mon, Jun 9, 2008 at 8:18 PM, Jens Alfke <
email@hidden> wrote:
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
--
Thanks & Regards,
Sunil Prajapati
Software Developer in Macintosh
_______________________________________________
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