TCPCONNECT(1) General Commands Manual TCPCONNECT(1)NAME
tcpconnect - general TCP/IP client
SYNOPSIS
tcpconnect [-irv] [-l localaddr] host port
DESCRIPTION
tcpconnect creates a TCP/IP connection to a server running on the machine host, listening to port port. It then reads standard input and
sends to the remote server, and data received from the server is printed to standard output. When end-of-file is reached on both standard
input and the TCP/IP connection, tcpconnect terminates.
OPTIONS -i Terminate at end-of-file on standard input; don't wait for the server to close the connection.
-r Terminate when the remote server closes the connection; don't wait for end-of-file on standard input.
-v Verbose mode. Prints a message to standard error when the connection has been established.
-l addr:port
Bind the local end-point of the connection to IP address addr, TCP port port. Either the IP address or the port, but not both, may
be left out, meaning that the operating system gets to choose that part by itself.
SEE ALSO tcplisten(1), telnet(1), tcpbug(1).
BUGS
The names of the options are not yet finalized, and may change at a future release.
1997 April 13 TCPCONNECT(1)
Check Out this Related Man Page
TCPCONNECT(1) General Commands Manual TCPCONNECT(1)NAME
tcplisten - general TCP/IP server
SYNOPSIS
tcplisten [-irv] [localaddr] port
DESCRIPTION
tcplisten waits for a TCP/IP connection on port. If a localaddr parameter is given, tcplisten will bind to that IP address. Otherwise
tcplisten will accept connections to any of the local machines IP addresses. Data received from the client is printed on standard output,
and data read from standard input is sent to the client. When end-of-file is reached on both standard input and the TCP/IP connection,
tcplisten terminates.
OPTIONS -i Terminate at end-of-file on standard input; don't wait for the client to close the connection.
-r Terminate when the remote client closes the connection; don't wait for end-of-file on standard input.
-v Verbose mode. Prints a message to standard error about the origins (host and port) of the client.
SEE ALSO tcpconnect(1), telnet(1), mini-inetd(1), tcpbug(1).
BUGS
The names of the options are not yet finalized, and may change at a future release.
1997 April 13 TCPCONNECT(1)
hi
if i do a portscan on my fbsd box, i got one port that i don't want to see it open
that's port 111, sunrpc, how can i close it?
and also my-sql port 1433 and port 1523 (cichild-lm)
tnx for your help!! (6 Replies)
In using a music file sharing program (WinMx), I am told that I
cannot make a primary connection (fastest downloads) because I do not
have a TCP and UDP port. I am running Windows Me.What do I do? Thanks. (6 Replies)
Hi,
Anyone know how I can log all input - when a user logs in to a specific port number ie if user telnet to port specifically telnet 0 4800
I want to log all input that the user inputs..
Is this possible??
Is the sun solaris forum the correct forum or should this perhaps go... (10 Replies)
Here's a difficult one for you.
I am on HPUX 11.0. I have a hung port, it is stuck in FIN_WAIT_2. Short of rebooting, how can I terminate the connection the system thinks still exists? I found a script online that uses adb but have not been able to get it to work. I am still open to using... (6 Replies)
Hi, guys
I have experience in UNIX, but more in hpux, have done an mksysb in an Aix server 5.3, and then restore in other server with same model, everithing fine but no TCP/IP configuration and hostname its like "localhost" after the restore. It's something wrong? I've change the configuration,... (5 Replies)
hello,
I am gettin problem while sending and recieving data through seial port...
when I am sending Data then the reciever end is not able to recieve that data .....
Reciever end is running in infinite loop just polling after some time to check that there is data on the port and then again... (9 Replies)
How to find the process that is using the port 80 and apache server.
When i used the command 'netstat -a|grep 80' it given that port 80 is in listening mode.
I had used the following command:
telnet localhost 80
GET /
I had got some HTML script.
But when I accessed the GUI ( url is... (7 Replies)
I want to manipulate files that are present on another server.
I tried telnet. I get the following error:
Connection to <hostname> closed by foreign host.
I need to do this through a KSH. Any help is appreciated!
Thanks,
Edison (6 Replies)
Hi,
I have an interesting problem. I cannot connect to a personal server I set up. What's interesting is that I can connect to it from the LAN using its non-local IP address. However, I cannot seem to connect to it from anywhere else.
Here's how my server is set up:
My entire home has a... (8 Replies)
Hi,
I am using Linux to run TCP server.
Whenever i accept a TCP connection from a client, i am able to around 10MB increase in prcoess(Using pmap).
How can i free this when i close the connection ?
I tried close(fd), but that is not freeing up this memory chunk.
Please help to... (6 Replies)
I have executed a command which has ports that have to be assigned.
then I deleted the files. Now I need to reinstall the command. but it says the ports are not free
How to terminate the port connections and reinstall in solaris unix
---------- Post updated at 09:07 PM ----------... (7 Replies)
my apps use port 40001; however, for example, firstly, I ftp to other server, it made a high port locally, remote is port 21, unfortunately, it hit my port 40001 and my apps is unable to startup. This chance is very very little, but I hit it. Can resevse my port 40001? otherwise command don't use it (5 Replies)
Hi.
I am writing client - server application using TCP sockets.
I need some very basic functionality, namely: how to check if another "participant" of the connection is still present?
I want to handle situations, when client is gone, or server breaks down, etc. (25 Replies)
We have an old server that has failed to boot and I don't know how to fix it maybe someone here could point me in the right direction. I don't know anything about this operating system
The person who used to fix it has passed on so any help would be great. I am uploading some screen shots to... (6 Replies)