 |
The Question is:
I'm writing a TCP based portlistener. I'm using the example
TCPIP$TCP_SERVER_SOCK.C
I've notices a problem that the program still is waiting for an incoming
TCP-packet but NOT on the define port. After some minutes the program has lost
it is original connection.
Is there a max. time before I am losing my port and yes how can I adjust that
time?
Thanks in advance
Peter Grevel
The Answer is :
You will want to contact the support center directly, as additional
details of the problem and the symptom(s) will be required -- this
would appear to be a bug within your application code or within the
example code, or an unhandled connection timeout.
Details of the target application will also be useful and will likely
be requested, as the choice of UDP or TCP, and of timeouts, are often
entirely dependent on the particular application goals.
inetd, for instance, can be used to start listeners in service of
incoming connections.
|