Searched refs:sockfd (Results 1 – 2 of 2) sorted by relevance
/PHP-5.3/main/ |
H A D | network.c | 300 PHPAPI int php_network_connect_socket(php_socket_t sockfd, argument 315 SET_SOCKET_BLOCKING_MODE(sockfd, orig_flags); 317 if ((n = connect(sockfd, addr, addrlen)) != 0) { 348 if ((n = php_pollfd_for(sockfd, POLLOUT|POLLPRI, timeout)) == 0) { 350 if ((n = php_pollfd_for(sockfd, PHP_POLLREADABLE|POLLOUT, timeout)) == 0) { 361 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, (char*)&error, &len) != 0) { 372 RESTORE_SOCKET_BLOCKING_MODE(sockfd, orig_flags); 390 return (connect(sockfd, addr, addrlen) == 0) ? 0 : -1;
|
H A D | php_network.h | 228 PHPAPI int php_network_connect_socket(php_socket_t sockfd,
|
Completed in 10 milliseconds