title: Passing socket descriptor between two processes using shared memory
body: <p>I am trying to pass socket descriptor between two process through a shared memory zone between the two process and Linux kernel, my goal is to open a TCP socket with one process and write inside the same socket using the second process. Is this possible without socket pipe between the two process?</p>
  
  <p>The socket descriptor is an <code>int</code>, how to get the native form of the descriptor in Linux? And if I just pass the native form of descriptor from process to other can I write data to the opened TCP socket.</p>