SkyEagle888
SkyEagle888

Reputation: 1009

Network port listening

I am writing an application (an instant messenger). I would like to know whether IOS supports application to listen to a particular ports for incoming packet continuously (when the application is active not suspend).

Thanks.

Upvotes: 0

Views: 1493

Answers (2)

vikingosegundo
vikingosegundo

Reputation: 52237

Short answer: yes

Long answer: Chris provided a link how to deal with sockets using CFNetwork Framework.
I'd like to add the hint for cocoa-asyncsocket, a light-weight object-orientated wrapper for that framework. A true time-saver.

Upvotes: 1

Related Questions