[ntp:bugs] [Bug 718] type of saddrlen arg is wrong for getsockname()

bugzilla at ntp.isc.org bugzilla at ntp.isc.org
Tue Oct 10 15:53:32 UTC 2006


http://bugs.ntp.isc.org/718



----------------------------------------------------------------------------
Additional Comments From burnicki at ntp.org (Martin Burnicki)
Submitted on 2006-10-10 15:53

Danny,

for Windows, socklen_t is not defined in the VC6 includes, so the code does 
currently not compile. In the DDK (which is currently not used to build under 
VC6) the definition for socklen_t in ws2tcpip.h is:

typedef int socklen_t;

I assume this is also included in the VS.NET headers. Anyway, we should add 
this to the Windows config.h for now. Later we had to see whether it is already 
defined by the available build environment or not, just like we'll have to do 
with other type definitions.

Martin

-- 
Martin Burnicki <burnicki at ntp.org>



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the bugs mailing list