What is the simplest way (preferably without using third party frameworks) in objective c, to setup a simple server that listens for socket connections, and reads data from the clients on a line by line basis.
ie Ideally you would just need to create an instance of a "server" object, that would pass "client" objects back to which receive incoming data messages.