Searched refs:bindto (Results 1 – 7 of 7) sorted by relevance
/PHP-8.3/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) 11 '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.3/main/ |
H A D | network.c | 790 int *error_code, const char *bindto, unsigned short bindport, long sockopts argument 828 if (!bindto || strchr(bindto, ':')) { 840 if (bindto && (strchr(bindto, ':') || !strcmp(bindto, "0"))) { 842 bindto = NULL; 859 if (bindto) { 871 if (inet_pton(AF_INET, bindto, &local_address.in4.sin_addr) == 1) { 873 if (inet_aton(bindto, &local_address.in4.sin_addr)) { 882 if (inet_pton(AF_INET6, bindto, &local_address.in6.sin6_addr) == 1) { 896 php_error_docref(NULL, E_WARNING, "Invalid IP Address: %s", bindto); 898 …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.3/main/streams/ |
H A D | xp_socket.c | 740 char *host = NULL, *bindto = NULL; in php_tcp_sockop_connect() local 788 …bindto = parse_ip_address_ex(Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval), &bindport, xparam->want_err… in php_tcp_sockop_connect() 823 bindto, in php_tcp_sockop_connect() 834 if (bindto) { in php_tcp_sockop_connect() 835 efree(bindto); in php_tcp_sockop_connect()
|
Completed in 16 milliseconds