There is no way to write a simulation of Telnet terminal program to support cust

You don't laugh, I was a rookie, the first contact programming.
I want to write a telnet terminal emulation program, connecting our UNIX server, custom term types and support.
SecureCRT and netterm of the mature software to support the custom terminal type string,
Some write telnet client found online can not support custom term types.
But I want to write a character after the judge can receive the output display program.
Who expert understanding of this knowledge, the trouble to teach me! Thank you!

Started by Maureen at February 06, 2016 - 2:13 AM

Very troublesome. . . . . . . .

Posted by Fiona at December 02, 2016 - 9:26 PM

You have to learn a lot,
To solve the communication problem, and the server how communication, generally used Winsock control, to learn about the control usage.
Then is the communication protocol of the problem, the communication protocol of Telnet, some words in the agreement of your program is to be processed.
Monochrome display it, you can do it with a text box, if it is to take a color display of words, you may have to do with PictureBox.
PictureBox to text copy word is a test,
... ...

Posted by Shawn at December 17, 2016 - 9:38 PM

Does the Winsock control test, to establish a connection, but wait until the server when the data returned is dropped, only to return a few???
What is this ah?

Posted by Maureen at December 23, 2016 - 10:25 PM

This is not good, the general even after the server returned to suggest you enter the username and password to login, send the past after login, estimation is you even go after what all don't send, overtime, and then give you back out.

Posted by Shawn at January 01, 2017 - 10:37 PM

Timeout is generally how long? How to set the timeout? I generally established the connection immediately execution returns to see is not the existence of login characters, but only to return a few??? It broke
I don't know what's wrong! I tried several online others write telnet client, connect local virtual telnet server can be connected, but that the UNIX server is not, I can only be connected with SecureCRT to
I found the C language to write the putty source code on the Internet, I would like to ask the source code can be modified into I want to program it?

Posted by Maureen at January 05, 2017 - 11:35 PM

Timeout say not good, that is the server control, you and the server connection the number of seconds the server space to see you do not send data you will give off very likely.
Complex telnet I didn't get off, get anyway, even to the server before the anti character here, local here is very good, as long as the push button to the server, the server returns over the character display and.

Posted by Shawn at January 08, 2017 - 11:59 PM

I search the Internet a lot, there are a lot of people say, the same piece of VB code, the server can connect to, or even less, I tried it, not even have to return a space and a question mark problems "?", can be linked to the have no problems at all.
I tried several routers, and some can even, some even not on!

Posted by Maureen at January 10, 2017 - 1:27 AM

A long time ago had, at that time is to send packets if brought a letter G packets will be lost, but do not know how good.
At first I thought the server you are to write a simulator, and stable communication and later even if the server to server, so what you can know, much more convenient to debug, anyway is simulation function doesn't need to be complicated, can display characters what is good.

Posted by Shawn at January 13, 2017 - 12:52 AM