Re: BSD TCP Programming on iPad
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