× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Actually it is DOS commands to talk to a Cisco Cable Modem provisioning system. Right now I am just trying to get logged in. I was somewhat expecting to get a login screen back in my program that I could issue commands similar to TNAPI, when you look at the log file.



I am trying two different approaches. Modifying TNAPI and modifying a socket program that I have been using to talk to a Unix box for quite some time, that I wrote using examples from your socket tutorial. But, with either option, I don't seem to be getting anything

intelligible back.

Welcome to Microsoft Telnet Service

login:



Thanks, Jon

Date: Fri, 29 Jan 2010 12:10:07 -0600
From: rpg400-l@xxxxxxxxxxxxxxxx
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Sockets and Telnet

I've done stuff like this many times, but not to Microsoft systems. (I
didn't even know Microsoft supported Telnet. Good lord, telnetting into
a Windows box? What do you do? DOS Commands?! And it works?)

Still, I don't really understand what the problem is. What kind of
options are you negotiating?


On 1/29/2010 7:50 AM, Jon S wrote:

All,

I am trying to use an RPG program create a script to connect to a MS
telnet server and issue a few simple commands after logging in. It
appears that it's connecting just fine, but I am not sure what to
expect back and it seems that I am just receiving garbage back after
converting it to Ascii.

I started with the TNAPI and modified it. Has anyone else been able
to do this? Thanks in advance.

Jon

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/196390710/direct/01/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.