title: user mode permission denied to bind to socket
body: <p>In user mode [non-root] on a linux machine, I am trying to bind a socket by using a <code>ioctl(iInterfaceSocket, SIOCSIFADDR, &amp;stCommand)</code>. I am getting <code>error 13 -&gt; Permission denied because of user mode</code>. If change from usermode to kernel mode everything works fine. </p>
  
  <p>I need to bind the socket in user mode only.  Please suggest a solution while explaining the problem above.  If I missed any information please let me know and I will provide more info.</p>