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.
Have a look here How to Write a Cocoa Web Server
Maybe not the simplest solution but it gives a good insight of needed logic for a server
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With