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.

Answers


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.


Survey says: yes.

http://oreilly.com/iphone/excerpts/iphone-sdk/network-programming.html


Need Your Help

Device TabGroup's Tab height in pixels depended from device screen size

android height pixel

I need to get height of my tab(shown in the picture) in pixels in my app.

Display and hide div with css

css css3 html hover siblings

In my script there is 3 div. I want to display div with class ab when hover on first line and display div with class abc, when hover on second line. Otherwise I want to diplay div with class a def...