I want to send and receive data with a remote server using a telnet session. What would be the best way (which class to use) to connect to the server on port 23?
I want to send and receive data with a remote server using a telnet session. What would be the best way (which class to use) to connect to the server on port 23?
TCP/IP socket calls, and your own telnet protocol implementation (unless you find somebody else's J2ME version to use), so read the RFC's related to telnet here: http://www.ietf.org/iesg/1rfc_index.txt