--On Monday, June 20, 2005 1:07 PM -0500 Peter Eisch <[EMAIL PROTECTED]> wrote:
Is there a way to "share" the raw socket with APR::Socket for just a short time? At the beginning of the tcp session it would be nice to sit on a select() for a bit and ensure the client doesn't try forcing down a session. They're not supposed to say anything until we present them with a banner, but there's no timestamp or way to ensure that the client didn't speak until spoken to. This is, in my opinion, the only drawback to using apache for qpsmtpd if you already have apache on the system.
You could do a non-blocking recv() from the socket at the beginning. That should work fine. -- justin
