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
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