Chat on IRC |
Telnet Client
Posted by Sky36 [send private reply] at September 05, 2001, 04:29:38 PM
Im trying to find a tutorial on writing a simple telnet client. If someone could tell me where I could find one that would be nice oh Language should be C\C++. I've found stuff on writing servers but nothing about clients. Thanx in advance.
Posted by drdevil [send private reply] at September 06, 2001, 04:37:46 PM
try the Beej socket tutorial (search on google), it'll tell you how to do listening sockets and connecting sockets, but it wont tell you how to make a telnet client, but from what it tells you in beej its pretty straight forward from then on if you have a bit of common sense and a will to experiment.
Thanks Gaz
Posted by Psion [send private reply] at September 07, 2001, 03:20:03 PM
I don't think most people would want to spend the time figuring out the telnet protocol by guesswork. Go read the RFC for it.
Posted by drdevil [send private reply] at September 07, 2001, 06:14:15 PM
I dont think he wants the telnet protocol, I think he wants a simple TCP connection telnet without any of the formatting or command codes, just simple stuff like netcat 'telnet'
Cheers Gaz
Posted by Sky36 [send private reply] at September 13, 2001, 06:24:59 PM
drdevil is correct. All I needed was the ability to connect to a port and send text and recieve it back. This post was rather useless I suppose a little while after I posted it I found a nice tutorial and got what I wanted working. Thanks for the replys though.
Register as a new user | |||||||