"Miquel van Smoorenburg" <[EMAIL PROTECTED]> wrote:
> Yes there is, but it is relatively unknown. So I dove into it
> tonight just for fun and I ended up with a recvfromto() function
> that does exactly what you expect it to do - albeit only on Linux
> and BSD (and it's only tested on Linux).
OK, now is there a 'sendtofrom'? And one which is thread safe? :(
I think that the best option here is to add multiple 'listen'
directives. My idea is to add configuration like:
listen {
bind_address = 1.2.3.4
port = 1645
}
listen foo {
bind_address = 1.2.3.4
port = 1812
}
The bare 'listen' means that the server is listening on multiple
interfaces/ports. (This should also solve the port 1645/1812 problem)
The 'foo' listen means that you can have a virtual server 'foo',
associated with that port. Exactly how that's implemented is to be
determined later...
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html