Some more info.. if it matters..
here is msghdr from sys/socket.h
/*
* NOTE: The POSIX msghdr structure takes precedence over the XOPEN flavor
* if both environments are defined. The two structs differ in the
* size of the msg_iovlen element.
*/
#ifdef _POSIX_PII_SOCKET
struct ms
cc: Warning: /php/php-src/ext/sockets/sockets.c, line 266: In this statement, the
referenced type of the pointer value "&salen" is "unsigned int", which is not
compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1)
out_sock->bsd_socket = accept(in_sock->bsd