|
-
Jan 1st, 2003, 03:29 PM
#1
Thread Starter
New Member
Opening a Telnet session
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
-
Jan 1st, 2003, 07:59 PM
#2
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.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 3rd, 2003, 04:22 PM
#3
Guru
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.
port 23*
-
Jan 4th, 2003, 06:42 AM
#4
Sorry.
20 would be FTP command, right?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 4th, 2003, 08:11 AM
#5
Guru
Code:
ftp-data 20/tcp #FTP, data
ftp 21/tcp #FTP. control
telnet 23/tcp
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|