FR3 Debugging Switches
Alan DeKok
aland at deployingradius.com
Wed Oct 9 20:09:54 CEST 2013
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.
More information about the Freeradius-Users
mailing list