Telnet question - does anyone have any examples???? Please Please Please 
Author Message
 Telnet question - does anyone have any examples???? Please Please Please

I have 3 employees that I need to build an app for that will
automatically and invisibly to them:

1. log into my ISP via Telnet with a specified username and PW.
2. send 1 string.
3. exit

I have to have this process run invisible to the user because:
a) I don't wish to share the pw, I'd rather hard code it.
b) Once on the server, I'm not crazy about them "experimenting".

Unless I can figure out how to establish this telnet session through
VB6 and its included controls, I will have to subclass an existing
Telnet client to intercept all user keystrokes while the session is
active. That sure seems like a backwards way of doing it.

I have searched the MSKB for Telnet and VB and came up dry. TIA to
anyone who can point me to an example of a simple Telnet session run
through VB.




Sun, 22 Apr 2001 03:00:00 GMT  
 Telnet question - does anyone have any examples???? Please Please Please
Quote:

>I have 3 employees that I need to build an app for that will
>automatically and invisibly to them:

>1. log into my ISP via Telnet with a specified username and PW.
>2. send 1 string.
>3. exit

<cut>

the winsock control in VB5 can do this easily enough so I assume VB6's
version will do so as well.  Telnet is usually port 23 so use that for
.RemotePort --- if the server you are connecting to uses another port you'll
need to find out what that is.  After that it's monitoring DataArrival
events and using SendData methods.



Sun, 22 Apr 2001 03:00:00 GMT  
 Telnet question - does anyone have any examples???? Please Please Please

I have made my VB telnet client openly available at

http://www.fastlane.net/~storrs/video/telnet.zip

The sample also includes VT52/VT100/ANSI emulation,
that part you can probably skip.

Regards,
Ian Storrs

http://www.fastlane.net/~storrs/

Quote:

>I have 3 employees that I need to build an app for that will
>automatically and invisibly to them:

>1. log into my ISP via Telnet with a specified username and PW.
>2. send 1 string.
>3. exit

>I have to have this process run invisible to the user because:
>a) I don't wish to share the pw, I'd rather hard code it.
>b) Once on the server, I'm not crazy about them "experimenting".

>Unless I can figure out how to establish this telnet session through
>VB6 and its included controls, I will have to subclass an existing
>Telnet client to intercept all user keystrokes while the session is
>active. That sure seems like a backwards way of doing it.

>I have searched the MSKB for Telnet and VB and came up dry. TIA to
>anyone who can point me to an example of a simple Telnet session run
>through VB.





Sun, 22 Apr 2001 03:00:00 GMT  
 Telnet question - does anyone have any examples???? Please Please Please


Quote:

>I have made my VB telnet client openly available at

>http://www.fastlane.net/~storrs/video/telnet.zip

>The sample also includes VT52/VT100/ANSI emulation,
>that part you can probably skip.

MANY MANY Thanks to everyone who has helped.

Sincerely,
Ray Eastham
<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>
123FindIt - Web Promotion
http://123FindIt.com    -   210-684-6390
Create a Traffic Jam on Your Site!



Sat, 05 May 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Can anyone HELP me PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE

2. PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP,

3. API callbacks - need help / example code - PLEASE PLEASE!!!

4. Design Help PLEASE PLEASE PLEASE!

5. Please Please PLEASE HELP!!!!!

6. URGENT HELP PLEASE PLEASE PLEASE???

7. Please please please, help me :-)

8. Please, Please, Please I need help working with dates

9. Please, please, please help!!

10. Cloning problem -- please please please help

11. Please, please, please, help!

12. Please, Please, Please I need your help with Winsock

 

 
Powered by phpBB® Forum Software