Re: opening sockets in modules

2006-03-29 Thread Alan DeKok
radhika putty [EMAIL PROTECTED] wrote:
 Are we allowed to open sockets inside a module and communicate with
 other programs. If not then how else can we communicate with other
 network programs..

  Yes.  The LDAP  SQL modules do this.

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


opening sockets in modules

2006-03-28 Thread radhika putty
Hi..Are we allowed to open sockets inside a module and communicate with other programs. If not then how else can we communicate with other network programs..
		New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: opening sockets in modules

2006-03-28 Thread Doug Hardie


On Mar 28, 2006, at 22:08, radhika putty wrote:


Hi..

Are we allowed to open sockets inside a module and communicate with  
other programs. If not then how else can we communicate with other  
network programs..


I can't see why not.  I have one module that I tested that used pipes  
to move the actual updating of a sql database outside the radius  
server.  It worked just fine.  The performance improvement wasn't  
enough to justify doing that on a production server though.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html