How to get socket state in solaris 10?
In solaris 8 , there used to be SO_STATE macro in socket.h , and we were able to use it as below:
getsockopt(skt, SOL_SOCKET, SO_STATE, (char *)&sockbufsize, &size);
But, there is no such macro supported in solaris 10. So, how to do it in solaris 10?