Re: socklen_t on HP/UX

2008-05-20 Thread Bob Proulx
Dustin J. Mitchell wrote: > As you probably know, on HP/UX, accept, getpeername, et al. take (.., > int *addrlen), not (.., socklen_t *addrlen) unless _XOPEN_SOURCE and > _XOPEN_SOURCE_EXTENDED are defined. However, if these macros are not > defined, socklen_t is still defined. There are a few mo

socklen_t on HP/UX

2008-05-20 Thread Dustin J. Mitchell
As you probably know, on HP/UX, accept, getpeername, et al. take (.., int *addrlen), not (.., socklen_t *addrlen) unless _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED are defined. However, if these macros are not defined, socklen_t is still defined. This means that the test in socklen.m4 doesn't have