(7a308dccb5d425cfbbdbdcc8ce1545d0c66a2c76)
#include <QtNetwork/private/qtnetworkglobal_p.h>
#include "private/qcore_unix_p.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <resolv.h>
Go to the source code of this file.
|
static int | qt_safe_socket (int domain, int type, int protocol, int flags=0) |
static int | qt_safe_accept (int s, struct sockaddr *addr, QT_SOCKLEN_T *addrlen, int flags=0) |
static int | qt_safe_listen (int s, int backlog) |
static int | qt_safe_connect (int sockfd, const struct sockaddr *addr, QT_SOCKLEN_T addrlen) |
template<typename T> |
static int | qt_safe_ioctl (int sockfd, unsigned long request, T arg) |
static int | qt_safe_sendmsg (int sockfd, const struct msghdr *msg, int flags) |
static int | qt_safe_recvmsg (int sockfd, struct msghdr *msg, int flags) |
◆ QT_SOCKET_CONNECT
◆ QT_SOCKOPTLEN_T
#define QT_SOCKOPTLEN_T QT_SOCKLEN_T |
◆ qt_safe_accept()
int qt_safe_accept |
( |
int | s, |
|
|
struct sockaddr * | addr, |
|
|
QT_SOCKLEN_T * | addrlen, |
|
|
int | flags = 0 ) |
|
inlinestatic |
◆ qt_safe_connect()
int qt_safe_connect |
( |
int | sockfd, |
|
|
const struct sockaddr * | addr, |
|
|
QT_SOCKLEN_T | addrlen ) |
|
inlinestatic |
◆ qt_safe_ioctl()
template<typename T>
int qt_safe_ioctl |
( |
int | sockfd, |
|
|
unsigned long | request, |
|
|
T | arg ) |
|
inlinestatic |
◆ qt_safe_listen()
int qt_safe_listen |
( |
int | s, |
|
|
int | backlog ) |
|
inlinestatic |
◆ qt_safe_recvmsg()
int qt_safe_recvmsg |
( |
int | sockfd, |
|
|
struct msghdr * | msg, |
|
|
int | flags ) |
|
inlinestatic |
◆ qt_safe_sendmsg()
int qt_safe_sendmsg |
( |
int | sockfd, |
|
|
const struct msghdr * | msg, |
|
|
int | flags ) |
|
inlinestatic |
◆ qt_safe_socket()
int qt_safe_socket |
( |
int | domain, |
|
|
int | type, |
|
|
int | protocol, |
|
|
int | flags = 0 ) |
|
inlinestatic |