sco unix 5.0.x, several weeks ago, I add a telnet-like service in inetd.conf, it runs well for 100 network terminals.
But nowdays, the terminals can connect to server successfully after booting machine, but several hours later, can not connect. "netstat -p tcp -a" can NOT find the port in... (1 Reply)
Discussion started by: shark_gao
1 Replies
2. Post Here to Contact Site Administrators and Moderators
Dear Administrators,
I think Mr. Vino is one of your Moderators here because he closes this thread: https://www.unix.com/showthread.php?p=302086230#post302086230
without a valid reason.
Rule 7 states no headhunters or recruiters, but career advice is not prohibited here i think, because it... (2 Replies)
Hi folks,
First of all, sorry about my english, isn't the best and thks for advance.
Here es my problem...
I have virtualize an SCO unix with VMware ESX 3 and everything was going on beatifull until that i try to connect from anorther host, i can't do it so i check the connection with... (5 Replies)
Hello,
Actually there are some bugs in application which does not close the TCP connection to other server though CORBA.
We need to kill that ESTABLISHED connections as new connection are not happeneing as the allocated ports were used and showing as ESTABLISHED
Is there any... (4 Replies)
Dear experts,
I am seeing a lot of TCP failed connection attempts from "netstat -s" on one of our servers.
How can I pin point what connection failed and what are the ports involved?
Any tools/commands I can dig in deeper to diag. what went wrong on these "failed connection attempts"?
... (2 Replies)
I've recently installed Solaris 10 10/9 in a new Dell Power Edge 630. Whenever I try to telnet, ssh, or FTP TO this box FROM another box on the same network segment, the following occurs:
Roughly 80% of the time I get "Unable to connect to remote host: Connection refused"
The remaining 20%... (0 Replies)
I have a TCPIP server application (a Vendor package) which by default allows 10 connections. It provides a parameter to allow us to increase the maximum allowable connections in case it is needed. Intermittently this application is failing with maximum number of connections reached even when there... (1 Reply)
Discussion started by: AIX_user
1 Replies
LEARN ABOUT OPENSOLARIS
listen
listen(3SOCKET) Sockets Library Functions listen(3SOCKET)NAME
listen - listen for connections on a socket
SYNOPSIS
cc [ flag ... ] file ... -lsocket-lnsl [ library ... ]
#include <sys/types.h>
#include <sys/socket.h>
int listen(int s, int backlog);
DESCRIPTION
To accept connections, a socket is first created with socket(3SOCKET), a backlog for incoming connections is specified with listen() and
then the connections are accepted with accept(3SOCKET). The listen() call applies only to sockets of type SOCK_STREAM or SOCK_SEQPACKET.
The backlog parameter defines the maximum length the queue of pending connections may grow to.
If a connection request arrives with the queue full, the client will receive an error with an indication of ECONNREFUSED for AF_UNIX sock-
ets. If the underlying protocol supports retransmission, the connection request may be ignored so that retries may succeed. For AF_INET
and AF_INET6sockets, the TCP will retry the connection. If the backlog is not cleared by the time the tcp times out, the connect will fail
with ETIMEDOUT.
RETURN VALUES
A 0 return value indicates success; -1 indicates an error.
ERRORS
The call fails if:
EBADF The argument s is not a valid file descriptor.
ENOTSOCK The argument s is not a socket.
EOPNOTSUPP The socket is not of a type that supports the operation listen().
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO accept(3SOCKET), connect(3SOCKET), socket(3SOCKET), attributes(5), socket.h(3HEAD)NOTES
There is currently no backlog limit.
SunOS 5.11 8 Nov 1999 listen(3SOCKET)