Home
last modified time | relevance | path

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

/PHP-7.3/ext/sockets/
H A Dsendrecvmsg.c42 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.3/main/
H A Dnetwork.c304 PHPAPI int php_network_connect_socket(php_socket_t sockfd, argument
318 SET_SOCKET_BLOCKING_MODE(sockfd, orig_flags);
320 if ((n = connect(sockfd, addr, addrlen)) != 0) {
351 if ((n = php_pollfd_for(sockfd, POLLOUT|POLLPRI, timeout)) == 0) {
353 if ((n = php_pollfd_for(sockfd, PHP_POLLREADABLE|POLLOUT, timeout)) == 0) {
364 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, (char*)&error, &len) != 0) {
375 RESTORE_SOCKET_BLOCKING_MODE(sockfd, orig_flags);
H A Dphp_network.h251 PHPAPI int php_network_connect_socket(php_socket_t sockfd,

Completed in 11 milliseconds