Page 1 of 1

Listen TCP socket "forever"

Posted: Mon Jun 30, 2008 7:45 am
by ulala099
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.