Home > Software engineering >  Is there a way to write a Telnet terminal emulation program support custom term string?
Is there a way to write a Telnet terminal emulation program support custom term string?

Time:10-27

You don't laugh, I am a novice, to programming for the first time,
I want to write a Telnet terminal emulation program, link here Unix servers, and support custom term type,
SecureCRT and netterm these mature software support custom terminal type string,
Online to find some written Telnet client cannot support custom term type,
But I want to write their own judgment after a can receive character output display program,
Which people know this knowledge, teach me trouble! Thank you all!

CodePudding user response:

Very troublesome,,,,,,,,,,

CodePudding user response:

Then what you want to learn a lot of,
How to solve the problem of communication, and the server communication, typically using winsock control, to understand the usage control.
And then there is the problem of communication protocol, the communication protocol of Telnet, agreement stipulates some control word is need to deal with in your program.
Monochrome display, you can use a text box to do, if is to bring color display, you may have to use the picturebox to do
Picturebox to text choose copy another test,
. .

CodePudding user response:

refer to the second floor bakw response:
that the things you want to learn a lot of,
How to solve the problem of communication, and the server communication, typically using winsock control, to understand the usage control.
And then there is the problem of communication protocol, the communication protocol of Telnet, agreement stipulates some control word is need to deal with in your program.
Monochrome display, you can use a text box to do, if is to bring color display, you may have to use the picturebox to do
Picturebox to text choose copy another test,
. .

Can winsock control tried to establish a connection, but by the time the server data returned when dropped, only to return to a few???????
What is the meaning of this excuse me?

CodePudding user response:

It's bad to say, even on the server will then return to general tips to you enter the login user name and password, then send the past to login, estimates that is what all don't send after you connect up, timeout, and then give you back.

CodePudding user response:

reference 4 floor bakw response:
it's bad to say, even on the server will then return to general tips to you enter the login user name and password, then send the past to login, estimates that is what all don't send after you connect up, timeout, and then give you back.

Timeout is usually how long? How to set the timeout? I usually establish the connection immediately execution returns to see whether there has the characters such as login, but returns only a few??????? Broke
I don't know what is the problem! I tried a few other people write online Telnet client, connect to a local virtual Telnet server can be connected, but not a our Unix server, I can only connect with SecureCRT
In the Internet I found the C language to write the source code of the putty, could you tell me the source code to program can be modified to me?

CodePudding user response:

Timeout is said to be bad, which is server control, and empty how many seconds to connect server you think you don't send data will give you to disconnect likely,
Complex Telnet I didn't get out before it even came the characters on the server, the local side very well written, just press down the key to the server, the server returned revealed just a matter of character,

CodePudding user response:

refer to 6th floor bakw response:
timeout is bad, that is the server control, and empty how many seconds to connect server you think you don't send data will give you to disconnect likely,
Complex Telnet I didn't get out before it even came the characters on the server, the local side very well written, just press down the key to the server, the server returned revealed just a matter of character,

I searched on the Internet a lot, a lot of people said, in the same period of VB code, some servers can be connected, some even not, I tried, yes, even does not appear on the back of a space and a question mark question? "" , can even on everything all have no,
I tried several routers, some can even, some even not on!

CodePudding user response:

Met a long time ago, at that time is in the packets sent if brought a letter G packet will be lost, for a few minutes later don't know how to.
At first I thought the server or you write a simulation, such as communication stability and server to connect again later, so the server that what you can see, more convenient for debugging and simulation function need not be complicated anyway, what can echo some characters.
  • Related