16class CHANNEL_EXPORT
CEvent :
public QObject
20 explicit CEvent(QObject *parent =
nullptr);
28 static int SetSocketNonBlocking(SOCKET fd);
29 static int SetSocketBlocking(SOCKET fd,
bool block);
30 static bool EnableNagles(SOCKET fd,
bool enable);
32 static QString GetAddress(
void* address);
39 int CreateSocketPair(qintptr fd[]);