How to create a TCP socket using Objective-C, check if some TCP ports are opened on the server?
I tried using some tutorials but none worked, because I need to create a server using an IP (198.168.0.000) and not a site, such as paypal.com, as some blog posts use.
I’m a little confused about which class to use and how to use. I know that is not the best place to ask, but do not know where to search.
Thank you for your help!
I recommend CocoaAsyncSocket for this kind of work. You can do it by hand, but if you’re working in ObjC, then CocoaAsyncSocket is a much nicer interface.