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