, listen(), accept() . accept man: "accept - ". . , ...
If you are writing a network application, then everything that bothers you is more than enough. If you have a working application, but you are trying to find out the problems, use a good network debugging tool, tools to check the status of your OS, etc. DO NOT try to put this in your applications.
If you are trying to write a debugging tool, then you will not be able to accomplish what you want using TCP / IP calls at the application level. You will need to reset at least one level.
source
share