Home
last modified time | relevance | path

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

/PHP-8.2/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-8.2/main/
H A Dnetwork.c307 PHPAPI int php_network_connect_socket(php_socket_t sockfd, argument
321 SET_SOCKET_BLOCKING_MODE(sockfd, orig_flags);
323 if ((n = connect(sockfd, addr, addrlen)) != 0) {
354 if ((n = php_pollfd_for(sockfd, POLLOUT|POLLPRI, timeout)) == 0) {
356 if ((n = php_pollfd_for(sockfd, PHP_POLLREADABLE|POLLOUT, timeout)) == 0) {
367 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, (char*)&error, &len) != 0) {
378 RESTORE_SOCKET_BLOCKING_MODE(sockfd, orig_flags);
H A Dphp_network.h273 PHPAPI int php_network_connect_socket(php_socket_t sockfd,

Completed in 12 milliseconds