|
|
|
@ -1402,11 +1402,6 @@ PHP_FUNCTION(recvfrom) |
|
|
|
RETURN_LONG(-errno); |
|
|
|
} |
|
|
|
|
|
|
|
if (Z_LVAL_PP(flags) & 0xf0000000) { |
|
|
|
Z_LVAL_PP(flags) &= ~0xf0000000; |
|
|
|
php_error(E_WARNING, "This platform does not support the MSG_WAITALL flag.."); |
|
|
|
} |
|
|
|
|
|
|
|
switch (sa.sa_family) |
|
|
|
{ |
|
|
|
case AF_UNIX: |
|
|
|
@ -1630,12 +1625,6 @@ PHP_FUNCTION(recvmsg) |
|
|
|
convert_to_long_ex(port); |
|
|
|
} |
|
|
|
|
|
|
|
if (Z_LVAL_PP(flags) & 0xf0000000) { |
|
|
|
Z_LVAL_PP(flags) &= ~0xf0000000; |
|
|
|
php_error(E_WARNING, "This platform does not support the MSG_WAITALL flag.."); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ZEND_FETCH_RESOURCE(iov, php_iovec_t *, iovec, -1, "IO vector table", SOCKETSG(le_iov)); |
|
|
|
|
|
|
|
ret = getsockname(Z_LVAL_PP(fd), &sa, &salen); |
|
|
|
|