PDA

View Full Version : C programming to find the current state of socket.


bondinnet
04-19-2006, 02:59 PM
Hi ,

I would like to know how to get the current state of a tcp/ip socket. Is there any structure field in which it is maintained. How does the netstat figure out the state of the socket. Is there any standard function like getpeername etc which can give me the socket state. I use C for Application development.

Any ideas

thankz in advance.
James

i3839
04-19-2006, 04:11 PM
Please don't double post.

Identical thread: http://www.developerweb.net/forum/showthread.php?t=4395