Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

PaperFace

macrumors newbie
Original poster
Sep 18, 2008
8
0
My last thread for the day.

I've been using NSInputStream and NSOutputStream to connect to a remote server and pass data back and forth which is fine. I'm aware there are a couple of other ways of doing it, but have no idea what the advantages are of the other methods.

But how can I make the iPhone listen on a port? For something like an iRC client I'd need to be listening on a certain port and accepting the connection in order to pass the Ident check etc.

Tried googling but to no avail.

Thanks in advance.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.