Home
last modified time | relevance | path

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

/PHP-5.3/ext/sockets/
H A Dsockets.c399 php_socket *out_sock = (php_socket*)emalloc(sizeof(php_socket)); local
401 *new_sock = out_sock;
403 out_sock->bsd_socket = accept(in_sock->bsd_socket, la, la_len);
405 if (IS_INVALID_SOCKET(out_sock)) {
406 PHP_SOCKET_ERROR(out_sock, "unable to accept incoming connection", errno);
407 efree(out_sock);
411 out_sock->error = 0;
412 out_sock->blocking = 1;
413 out_sock->type = la->sa_family;

Completed in 15 milliseconds