Can anyone tell me how to open a Telnet session in C++? I am new to this and am trying to write a small program for work where I open a Telnet session and send some TL1 commands.
Thanks a lot, Jim
Printable View
Can anyone tell me how to open a Telnet session in C++? I am new to this and am trying to write a small program for work where I open a Telnet session and send some TL1 commands.
Thanks a lot, Jim
Telnet is very simple AFAIK, it should be possible to simply connect to a pc on port 20 and send raw data.
Means you should use sockets.
port 23*Quote:
Originally posted by CornedBee
Telnet is very simple AFAIK, it should be possible to simply connect to a pc on port 20 and send raw data.
Means you should use sockets.
Sorry.
20 would be FTP command, right?
Code:ftp-data 20/tcp #FTP, data
ftp 21/tcp #FTP. control
telnet 23/tcp