Re: BSD TCP Programming on iPad
Re: BSD TCP Programming on iPad
- Subject: Re: BSD TCP Programming on iPad
- From: John Pannell <email@hidden>
- Date: Mon, 25 Apr 2011 09:22:15 -0600
You might also want to look into the GameKit APIs present in iOS... by going lower level, you'd likely be re-inventing the functionality these APIs provide already. There is extensive documentation on GameKit and its use within the Apple docs. I might also recommend the following books:
http://www.amazon.com/Beginning-iPhone-Games-Development-Cabrera/dp/1430225998
... chapters 13, 14, 15, and 16 cover networking topics, including GameKit and some lower level stuff.
http://www.amazon.com/More-iPhone-Development-Tackling-Beginning/dp/143022505X
... chapters 8 and 9 cover GameKit and Bonjour
http://www.amazon.com/Advanced-Mac-Programming-Core-Unix/dp/0974078514
... chapters 13, 14, 19, and 20 are relevant. They dig into the lower level APIs, should you still be interested in going there.
Hope this helps!
John
John Pannell
http://www.positivespinmedia.com
On Apr 25, 2011, at 9: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