Listen TCP socket "forever"
Posted: Mon Jun 30, 2008 7:45 am
Hi,
I need to listen to few TCP sockets for application responses forever. I wrote the socket conneciton program but can't be able to run that forever. When I execute that using SSH and exit from SSH then it stops executing. Also I want to run that when the server starts running.
Please suggest me how i can do it efficiently.
Thanks in advance.
I need to listen to few TCP sockets for application responses forever. I wrote the socket conneciton program but can't be able to run that forever. When I execute that using SSH and exit from SSH then it stops executing. Also I want to run that when the server starts running.
Please suggest me how i can do it efficiently.
Thanks in advance.