• 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: 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

  • Follow-Ups:
    • Re: sending file using CFSocket
      • From: "sunil prajapati" <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>)

  • Prev by Date: Re: sending file using CFSocket
  • Next by Date: 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