|
You can have your socket server connect to the standard Telnet server running on the As400. You then just forward the read buffer from your port to the telnet connection. Your program is then acting as a gateway to the telnet server. This allows you to do some pre and post processing to the telnet server or connect strait to the telnet server. Christopher K. Bipes mailto:ChrisB@Cross-Check.com Operation & Network Mgr mailto:Chris_Bipes@Yahoo.com CrossCheck, Inc. http://www.cross-check.com 6119 State Farm Drive Phone: 707 586-0551 x 1102 Rohnert Park CA 94928 Fax: 707 586-1884 -----Original Message----- From: Shannon O'Donnell [mailto:shannono@janodata.com] Sent: Sunday, September 02, 2001 1:39 PM To: midrange-l@midrange.com Subject: Re: Telnet Server Using a socket program was a very good idea. I'd considered it once, but wasn't sure where to go with it. I went out to Scott's site and took a look at his tutorial. Very, VERY! nice work on his part. Excellent tutorial on how to use sockets! I think that using my own socket server would work if there was a way to call the AS/400's telnet emulation programs manually via the socket server. In otherwords, if I could use a socket to bind to a port of my choice, and then once I'm on that remote system, have the AS/400's telnet programs (those ran normally by the *TELNET server) initiated, then this approach would work really well.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.