I currently have a program that has its own client to communicate with it over the network. What would I have to do to rewrite the server to accept and understand connections from a standard telnet client? I have not been able to find much information on the control codes for telnet.
telnet functions at the socket level, and is essentially a raw socket client.
as long as your server accepts tcp connections, listens on a tcp port and accepts a data stream you can use telnet as your client.
test it out. write a tcp time server and use telnet as a client.
I've made a daytime server and I don't have a problem sending data to the client. My current problem is that the client keeps sending "xterm" string like it's waiting for my program to acknowledge the terminal type
Found what I needed.
I'd like to thank everyone that helped me on this. To anyone that might be interested in this subject, I've found a website that has compiled ALL the telnet rfc's into an understandable document at http://www.scit.wlv.ac.uk/~jphb/comms/telnet.html . Again, thanks for all the help.