[Date Prev][Date Next] [Chronological] [Thread] [Top]

client with 2 Network interfaces



Hi

I'm writing an ldap client (on FreeBSD 4.3) on a 
machine with more than one network interface 
(actually 2).

Functions of the LDAP library do not allow to 
specify the interface, ie the "Source address".
So how do I do ?
Re-write ldap_bind(), etc ?? AAARRGH !

I know that C functions "socket" or "bind" have a 
parameter sin_addr or something like that, while 
ldap_bind() & co don't.
So how does it work, internally ?
I had a look at the source code ("ber_socket..."), 
but it's a bit hard for me and really boring : no 
time for such a task...

Please help !

Thanks in advance for answers

Sam




Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,13 ?/mn) ; tél : 08 92 68 13 50 (0,34?/mn)"