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.
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.