On Oct 20, 2010, at 9:59 AM, Arjen de Korte wrote:
Something similar goes for socklen_t. We should trust on <sys/ socket.h> to provide the necessary type.
On mingw32, there is no sys/socket.h, and winsock.h or winsock2.h provides the getpeername() call.
I'm trying not to comment on the merits of following POSIX to the letter, or how different mingw32 is from cygwin or more traditional Unix platforms, but I don't think it's that straightforward.
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
