nickylba wrote:
I am developing an application that will send "telnet"requests to different
servers with existing SunOS telnet daemons. The total number of servers will
be about 2000.
It is very likely that i will use MINA. But I don't know how to implement
the protocol detail. Would you please do me a favor to tell me:
1) how or where can i implement the telnet protocol with MINA?
2) Whether the client's requests using MINA will be understanded by existing
telnet daemons?

I am very appreciate your help!

You can implement any protocol using MINA, as long as it's UDP or TCP based. It should be possible to implement a telnet client using MINA. First of all you need to understand how the protocol works. There seems to be a bunch of RFCs for telnet. See http://www.omnifarious.org/~hopper/telnet-rfc.html.

You might want to implement a protocol codec for telnet. Please have a look at the tutorials on the MINA web site: http://mina.apache.org. There are also some examples which demonstrate how to implement protocol codecs.

As long as you follow the protocol specification described in the RFCs the servers should be able to understand your client.

HTH

--
Niklas Therning
www.spamdrain.net

Reply via email to