Lines Matching refs:socklen
195 socklen_t socklen; member
1219 …en_socket(const char *host, int *port, int socktype, int *af, socklen_t *socklen, zend_string **er… in php_network_listen_socket() argument
1246 *socklen = sizeof(struct sockaddr_in6); in php_network_listen_socket()
1253 *socklen = sizeof(struct sockaddr_in); in php_network_listen_socket()
1257 *socklen = 0; in php_network_listen_socket()
1269 if (bind(retval, sa, *socklen) == SOCK_CONN_ERR) { in php_network_listen_socket()
1282 if (getsockname(retval, sa, socklen)) { in php_network_listen_socket()
2435 …etwork_listen_socket(host, &port, SOCK_STREAM, &server->address_family, &server->socklen, &errstr); in php_cli_server_ctor()
2588 socklen_t socklen = server->socklen; in php_cli_server_do_event_for_each_fd_callback() local
2589 struct sockaddr *sa = pemalloc(server->socklen, 1); in php_cli_server_do_event_for_each_fd_callback()
2590 client_sock = accept(server->server_sock, sa, &socklen); in php_cli_server_do_event_for_each_fd_callback()
2608 if (FAILURE == php_cli_server_client_ctor(client, server, client_sock, sa, socklen)) { in php_cli_server_do_event_for_each_fd_callback()