• 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: BSD TCP Programming on iPad
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BSD TCP Programming on iPad


  • Subject: Re: BSD TCP Programming on iPad
  • From: John Joyce <email@hidden>
  • Date: Mon, 25 Apr 2011 10:13:47 -0500

Have you looked at the sample code?
https://developer.apple.com/library/ios/#samplecode/SimpleNetworkStreams/Listings/Read_Me_About_SimpleNetworkStreams_txt.html#//apple_ref/doc/uid/DTS40008979-Read_Me_About_SimpleNetworkStreams_txt-DontLinkElementID_8


On Apr 25, 2011, at 10:00 AM, Bing Li wrote:

> Dear Marcus,
>
> Could you tell me which features are not available when using BSD sockets on
> iOS? Although I would like to use CFNetwork APIs, I cannot find enough
> materials to learn how to use them. The guide from apple.com is too limited
> to be useful. Could you provide me with other resources about CFNetwork
> APIs.
>
> Thanks so much!
> LB
>
> On Mon, Apr 25, 2011 at 2:05 PM, Marcus Karlsson <email@hidden> wrote:
>
>> Dear all,
>>>
>>> I am planning to program with BSD TCP on iPad. The motivation to do that
>>> is that a P2P model is expected. I think the network techniques, such as
>>> Web Services and Push Notification, supported by Cocoa do not meet the
>>> requirements.
>>>
>>> My experiences on iPad are not sufficient. I am not sure if the above
>>> opinion is correct?
>>>
>>
>> It sounds correct. However, it's recommended that you don't use BSD sockets
>> directly on iOS since certain networking features won't be available. If you
>> want to work on the socket level you should instead use the CFNetwork APIs.
>>
>> Marcus
>>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >BSD TCP Programming on iPad (From: Bing Li <email@hidden>)
 >Re: BSD TCP Programming on iPad (From: Marcus Karlsson <email@hidden>)
 >Re: BSD TCP Programming on iPad (From: Bing Li <email@hidden>)

  • Prev by Date: @class create a new instance?
  • Next by Date: Re: BSD TCP Programming on iPad
  • Previous by thread: Re: BSD TCP Programming on iPad
  • Next by thread: Re: BSD TCP Programming on iPad
  • Index(es):
    • Date
    • Thread