Searched refs:sockfd (Results 1 – 3 of 3) sorted by relevance
/PHP-7.1/ext/sockets/ |
H A D | sendrecvmsg.c | 42 inline ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags) in recvmsg() argument 48 int res = WSAIoctl((SOCKET) sockfd, SIO_GET_EXTENSION_FUNCTION_POINTER, in recvmsg() 58 return WSARecvMsg((SOCKET)sockfd, msg, &recvd, NULL, NULL) == 0 in recvmsg() 62 inline ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags) in sendmsg() argument 65 return WSASendMsg((SOCKET)sockfd, (struct msghdr*)msg, (DWORD)flags, &sent, NULL, NULL) == 0 in sendmsg()
|
/PHP-7.1/main/ |
H A D | network.c | 309 PHPAPI int php_network_connect_socket(php_socket_t sockfd, argument 324 SET_SOCKET_BLOCKING_MODE(sockfd, orig_flags); 326 if ((n = connect(sockfd, addr, addrlen)) != 0) { 357 if ((n = php_pollfd_for(sockfd, POLLOUT|POLLPRI, timeout)) == 0) { 359 if ((n = php_pollfd_for(sockfd, PHP_POLLREADABLE|POLLOUT, timeout)) == 0) { 370 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, (char*)&error, &len) != 0) { 381 RESTORE_SOCKET_BLOCKING_MODE(sockfd, orig_flags); 399 return (connect(sockfd, addr, addrlen) == 0) ? 0 : -1;
|
H A D | php_network.h | 253 PHPAPI int php_network_connect_socket(php_socket_t sockfd,
|
Completed in 16 milliseconds