I created a simple server program and connects a client to it using terminal. In the terminal window, the command telnet localhost [port number]
was used. Can anyone please tell me how this command works?
Suppose i create a server via one terminal window, and can i connect a client to it using another terminal window opened in another computer, connected to internet through another router? Please tell me. Thanks in advance.