title: Can I set SO_RCVBUF to 1 on a UDP socket
body: <p>I have a system where a single-byte message is sent via a UDP socket from one process to another when something happens.  On the receiving end, it matters not if this event has happened once or a dozen or even a million times.</p>
  
  <p>Rather than making many useless recvfrom() calls, I thought maybe I could just use setsockopt to set SO_RCVBUF to 1 which I am hoping would cause the system to simply ignore all but the first message (until it is read thus allowing another).  However, googling turns up some evidence that this might not be 100% portable (it looks like some systems might quietly enforce a minimum size?).</p>
  
  <p>So before I go to the work of trying this I was wondering if anyone knew how likely this would be to work?  This is on Red Hat Linux if that matters in any way.</p>