Searched refs:bindto (Results 1 – 7 of 7) sorted by relevance
/PHP-8.1/ext/standard/tests/network/ |
H A D | bug74764.phpt | 2 Bug #74764 IPv6 bindto fails with stream_socket_client() 12 ['socket' => array('bindto' => "[::]:0")] 17 array('socket' => array('bindto' => "0.0.0.0:0"))
|
H A D | bug80067.phpt | 2 Bug #80067 (Omitting the port in bindto setting errors) 10 $context = stream_context_create(['socket' => ['bindto' => '0']]);
|
H A D | bindto.phpt | 2 Test invalid bindto 7 'bindto' => 'invalid',
|
H A D | gh12190.phpt | 10 $context = stream_context_create(['socket' => ['bindto' => '0:0']]);
|
/PHP-8.1/main/ |
H A D | network.c | 788 int *error_code, const char *bindto, unsigned short bindport, long sockopts argument 826 if (!bindto || strchr(bindto, ':')) { 838 if (bindto && (strchr(bindto, ':') || !strcmp(bindto, "0"))) { 840 bindto = NULL; 857 if (bindto) { 869 if (inet_pton(AF_INET, bindto, &local_address.in4.sin_addr) == 1) { 871 if (inet_aton(bindto, &local_address.in4.sin_addr)) { 881 if (inet_pton(AF_INET6, bindto, &local_address.in6.sin6_addr) == 1) { 889 php_error_docref(NULL, E_WARNING, "Invalid IP Address: %s", bindto); 891 …php_error_docref(NULL, E_WARNING, "Failed to bind to '%s:%d', system said: %s", bindto, bindport, …
|
H A D | php_network.h | 270 int *error_code, const char *bindto, unsigned short bindport, long sockopts
|
/PHP-8.1/main/streams/ |
H A D | xp_socket.c | 705 char *host = NULL, *bindto = NULL; in php_tcp_sockop_connect() local 753 …bindto = parse_ip_address_ex(Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval), &bindport, xparam->want_err… in php_tcp_sockop_connect() 788 bindto, in php_tcp_sockop_connect() 799 if (bindto) { in php_tcp_sockop_connect() 800 efree(bindto); in php_tcp_sockop_connect()
|
Completed in 20 milliseconds