Hello Chris,
------------------------------------------------------------------------
telnet [-a][-e escape char][-f log file][-l user][-t term][host [port]]
-a Attempt automatic logon. Same as -l option except uses
the currently logged on user's name.
-e Escape character to enter telnet client prompt.
-f File name for client side logging
-l Specifies the user name to log in with on the remote system.
Requires that the remote system support the TELNET ENVIRON option.
-t Specifies terminal type.
Supported term types are vt100, vt52, ansi and vtnt only.
host Specifies the hostname or IP address of the remote computer
to connect to.
port Specifies a port number or service name.
-------------------------------------------------------------------------
From the help description, the telnet command can accept two parameter. The
first one is for host machine name, and the second one is for port. We
cannot add the colon between host and port and we cannot add the string
behind. The followings are the right order,
1. We first type "telnet" in the command line window and press Enter. So we
enter into a telnet session.
2. We then type "open 127.0.0.1 port" to connect to the server.
3. Once connected to the server, we can type anything to and press Enter to
send it.
I have a quick test in my side with a server created using codes in
http://bytes.com/groups/net-c/275416-c-mud-telnet-server. It works fine.
And I think the behavior here is also related to how you implement that
tcp/ip server.
Regards,
Colbert