Phil Mayers wrote:
> Perhaps architecturally, but not inherently; you could, at least in theory:
> 
>  1. Receive 4-byte length
>  2. Sanity-check the length
>  3. Allocate buffer
>  4. Read on TCP socket non-blocking in normal select loop until you've
> filled the buffer
>  5. Parse packet from buffer, dispatch packet

  That is *exactly* what the server does for TCP.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to