title: Suppress "Operation not permitted" error from socket
body: <p>I have a small utility application that handles sockets, both TCP and UDP. Occasionally, I get the error "Operation not permitted" printed to stderr. My issues is, I handle the errors based on the return codes of the socket functions (and occasionally errno), and don't print anything. Thus, this message must be coming from one of the socket calls. I am not sure which one, as this message occurs so infrequently, it has been difficult to debug, but I think it is either coming from <code>socket</code> or <code>sendto</code>.</p>
  
  <p>Is there a way to suppress all messages from being printed? I can handle the errors myself, I do not need the system doing it uncontrolled on my behalf.</p>
  
  <p>Note, this is a Linux only application.</p>
  
  <p>Thanks for the help.</p>