Searched refs:sockopts (Results 1 – 3 of 3) sorted by relevance
/PHP-8.0/main/streams/ |
H A D | xp_socket.c | 627 long sockopts = STREAM_SOCKOP_NONE; in php_tcp_sockop_bind() local 663 sockopts |= STREAM_SOCKOP_IPV6_V6ONLY; in php_tcp_sockop_bind() 664 sockopts |= STREAM_SOCKOP_IPV6_V6ONLY_ENABLED * zend_is_true(tmpzval); in php_tcp_sockop_bind() 673 sockopts |= STREAM_SOCKOP_SO_REUSEPORT; in php_tcp_sockop_bind() 683 sockopts |= STREAM_SOCKOP_SO_BROADCAST; in php_tcp_sockop_bind() 689 sockopts, in php_tcp_sockop_bind() 709 long sockopts = STREAM_SOCKOP_NONE; in php_tcp_sockop_connect() local 761 sockopts |= STREAM_SOCKOP_SO_BROADCAST; in php_tcp_sockop_connect() 774 sockopts |= STREAM_SOCKOP_TCP_NODELAY; in php_tcp_sockop_connect() 789 sockopts in php_tcp_sockop_connect()
|
/PHP-8.0/main/ |
H A D | network.c | 410 int socktype, long sockopts, zend_string **error_string, int *error_code argument 462 if (sockopts & STREAM_SOCKOP_IPV6_V6ONLY) { 463 int ipv6_val = !!(sockopts & STREAM_SOCKOP_IPV6_V6ONLY_ENABLED); 468 if (sockopts & STREAM_SOCKOP_SO_REUSEPORT) { 473 if (sockopts & STREAM_SOCKOP_SO_BROADCAST) { 478 if (sockopts & STREAM_SOCKOP_TCP_NODELAY) { 781 int *error_code, const char *bindto, unsigned short bindport, long sockopts argument 904 if (sockopts & STREAM_SOCKOP_SO_BROADCAST) { 913 if (sockopts & STREAM_SOCKOP_TCP_NODELAY) {
|
H A D | php_network.h | 263 int *error_code, const char *bindto, unsigned short bindport, long sockopts 278 int socktype, long sockopts, zend_string **error_string, int *error_code
|
Completed in 19 milliseconds