Is telnet just a simple socket connection?

I usually have a difficult time in the networking area so I use some code from the internet to help me out, but I can't seem to find a library for Telnet in Objective-C.

The closest thing I've found is CocoaAsyncSocket

I was wondering, Is telnet just plain socket connections?

Do I just create a socket to the server and send the commands?


Telnet is a bit more than just plain socket connections, but in many cases, just opening a socket to the server and sending the commands will do the trick anyway.

See the wikipedia page for more details and links to the RFCs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.