Hehe,
您只要求知道登陆是否成功, 那么事情非常简单,
根本不用什么终端控件,
简单写点儿代码就成了,
思路如下:
create client socket,
connect to target address, 23 port (telnet port)
read from client socket, untill you collect a string "Login:",
or other string that indicate you to enter your user id,
now send your user id and CRLF to client socket.
new read client socket, until you collect a string "Passwd:",
or other string that indicate you to enter your password.
After that, read client socket until you collect a string that
means you have successfully logged on.
What these 3 strings really are depends on the target machine you just connect to.
Hehe, if you encounter negotiation of term, just answer refuse to it.