Home
last modified time | relevance | path

Searched refs:bindto (Results 1 – 7 of 7) sorted by relevance

/PHP-7.4/ext/standard/tests/network/
H A Dbug74764.phpt2 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 Dbug80067.phpt2 Bug #80067 (Omitting the port in bindto setting errors)
9 $context = stream_context_create(['socket' => ['bindto' => '0']]);
H A Dbindto.phpt2 Test invalid bindto
7 'bindto' => 'invalid',
/PHP-7.4/main/
H A Dnetwork.c785 int *error_code, char *bindto, unsigned short bindport, long sockopts argument
830 if (!bindto || strchr(bindto, ':')) {
854 if (bindto) {
859 if (strchr(bindto,':')) {
869 if (!inet_aton(bindto, &in4->sin_addr)) {
870 php_error_docref(NULL, E_WARNING, "Invalid IP Address: %s", bindto);
884 if (inet_pton(AF_INET6, bindto, &in6->sin6_addr) < 1) {
885 php_error_docref(NULL, E_WARNING, "Invalid IP Address: %s", bindto);
892 …php_error_docref(NULL, E_WARNING, "failed to bind to '%s:%d', system said: %s", bindto, bindport, …
H A Dphp_network.h246 int *error_code, char *bindto, unsigned short bindport, long sockopts
/PHP-7.4/main/streams/
H A Dxp_socket.c704 char *host = NULL, *bindto = NULL; in php_tcp_sockop_connect() local
752bindto = parse_ip_address_ex(Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval), &bindport, xparam->want_err… in php_tcp_sockop_connect()
787 bindto, in php_tcp_sockop_connect()
798 if (bindto) { in php_tcp_sockop_connect()
799 efree(bindto); in php_tcp_sockop_connect()
/PHP-7.4/
H A DNEWS703 . Fixed bug #80067 (Omitting the port in bindto setting errors). (cmb)

Completed in 19 milliseconds