Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Telnet Data Stream using Mabry Telnetx
Message
De
04/04/2005 00:12:54
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Telnet Data Stream using Mabry Telnetx
Divers
Thread ID:
01001138
Message ID:
01001138
Vues:
140
Hi All

I am attempting to get a continuous data feed established with a TelNet server using the SSH1 protocol. I am working with Mabry's TelNetX, using the dll (not the activeX control).

I can connect and receive data, but cannot seem to keep it going without repeatatively issuing a receive command. It seems to me that I should be able to open the connection, authenticate, and keep the data coming until disconnecting. The below code works, except for the problem stated.

I have spent the weekend flailing about, any help would be appreciated.

Thanks
- Don Lowrey

*****
* requires Mabry's telnetX.dll at www.mabry.com
loTelNetX.TerminalType = 1
loTelNetX.autologon = .T.
loTelNetX.Host = "rtdemo.olsen.ch"
loTelNetX.Port = 22
loTelNetX.LogonName = "rtdemo"
loTelNetX.LogonPassword = "password"
loTelNetX.PromptString = ''
loTelNetX.Protocol = 4 && SSH1 protocol

loTelNetX.Connect &&Connects, authenticates
** After connection established
? loTelNetX.Receive &&Server sends request for data
loTelNetX.Send("") &&which is satisfied by the empty string
? loTelNetX.Receive &&A few lines of data is sent, then stops ??
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform