title: How to open socket for sending data only in linux
body: <p>How can I open a socket for either sending data or for receiving data?
  If you want to use socket for sending data, that  socket will not receive any data.</p>
  
  <p>Is there any socket option is available for that?</p>