tcpinout
Submitted by Stephen Crawley on Sun, 05/11/2008 - 09:26.
tcpinout
| Synopsis | ||
| tcpinout | <host> <port> | Run tcpinout in client mode |
| tcpinout | <local port> | Run tcpinout in server mode |
|
Details | ||
|
The tcpinout command is a test utility that sets up a TCP connection to a remote host and then connects the command's input and output streams to the socket. The command's standard input is read and sent to the remote machine, and simultaneously output from the remote machine is written to the command's standard output. This continues until the remote host closes the socket or a network error occurs.
In "client mode", the tcpinout command opens a connection to the supplied <host> and <port>. This assumes that there is a service on the remote host that is "listening" for connections on the port. In "server mode", the tcpinout command listens for an incoming TCP connection on the supplied <local port>. |
||



Recent comments
13 hours 47 min ago
18 hours 27 min ago
1 day 1 hour ago
1 day 6 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 15 hours ago
2 days 54 min ago