Home
last modified time | relevance | path

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

/PHP-7.0/ext/sockets/
H A Dsockets.c477 php_socket *out_sock = php_create_socket(); local
479 *new_sock = out_sock;
481 out_sock->bsd_socket = accept(in_sock->bsd_socket, la, la_len);
483 if (IS_INVALID_SOCKET(out_sock)) {
484 PHP_SOCKET_ERROR(out_sock, "unable to accept incoming connection", errno);
485 efree(out_sock);
489 out_sock->error = 0;
490 out_sock->blocking = 1;
491 out_sock->type = la->sa_family;

Completed in 8 milliseconds