|Dart Home | PowerTCP Telnet for .NET | Custom Development||Reply | PowerTCP Telnet for .NET Topics | Forums|
|Author||Forum: PowerTCP Telnet for .NET|
Topic: Telnet logon a problem
From: Bolton, United Kingdom
Member Since: 04/04/11
|posted April 7, 2011 11:14 AM
When use Telnet.Login(credentials) it throwns an exception:
InnerException thrown before finding specified delimiter(s).
I setup username and password earlier and already connected to an IP address using Telnet.Connect.
// connect to server
// receive timeout 1 second
teln.Socket.ReceiveTimeout = one;
// RECEIVE data until timeout
// setup username and password and login
credentials.Username = "root";
credentials.Password = "EPCS";
credentials.PromptTimeout = one;
The only way I make the telnet session to login is by sending it the username and password. I do not understand how Telnet.Login works?
Heres the code I've used to actually login:
// write username
Send_Receive_data(credentials.Username + "\n",teln);
// write password
Send_Receive_data(credentials.Password + "\n",teln);
// write new line
|Jamie Powell (Admin)
From: Rome, NY USA
Member Since: 03/13/07
Extra Support Options
Custom Application Development
|posted April 7, 2011 2:40 PM
Thank you for your post. Please know that all pre-sale questions should be sent directly to firstname.lastname@example.org. You will receive an off-line response to this question.
|Reply | PowerTCP Telnet for .NET Topics | Forums|
|This site is powered by PowerTCP WebServer for ActiveX|