Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can the Telnet class be enhanced so that it accepts a port number other than default 23?

0
Posted

Can the Telnet class be enhanced so that it accepts a port number other than default 23?

0

The port number need not be 23, but any port in which the telnet server is running. The TelnetSession class has a method connect( String host, int port ) that allows you to establish a telnet session with the host and port that you specify provided the telnet server is running in the specified port.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123