• 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: sending file using CFSocket
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >sending file using CFSocket (From: "sunil prajapati" <email@hidden>)
 >Re: sending file using CFSocket (From: Jens Alfke <email@hidden>)
 >Re: sending file using CFSocket (From: "sunil prajapati" <email@hidden>)
 >Re: sending file using CFSocket (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: NSURLDownload and resuming a download
  • Next by Date: Re: NAT-PMP not honoring requested external port
  • Previous by thread: Re: sending file using CFSocket
  • Next by thread: Re: sending file using CFSocket
  • Index(es):
    • Date
    • Thread