BIND's use of WSOCK.lib

beach beach at snmp.com
Mon Aug 14 20:40:05 UTC 2000



Does anyone know why BIND uses wrapers for doing normal calls to
WSOCK.lib such as sendto() and
gethostbyname() in their own socket.c file? I am writing a program which
already uses WSOCK.lib, and am trying to link in the files in libbind so
I can have an NT resolver library. I get link errors that calls such as
sendto(), gethostbyname(), etc. are multiply defined in WSOCK.lib and
socket.obj (BIND's use of wrapers).

Any way of getting around this? Any reason why BIND doesn't just link to
WSOCK.lib?




More information about the bind-users mailing list