Qt 4.8
|
#include <winsock2.h>
#include <ws2tcpip.h>
#include "qnativesocketengine_p.h"
#include <qabstracteventdispatcher.h>
#include <qsocketnotifier.h>
#include <qdebug.h>
#include <qdatetime.h>
#include <qnetworkinterface.h>
Go to the source code of this file.
Macros | |
#define | _WSAIOW(x, y) (IOC_IN|(x)|(y)) |
#define | AF_INET6 23 /* Internetwork Version 6 */ |
#define | IOC_VENDOR 0x18000000 |
#define | QT_SOCKLEN_T int |
#define | QT_SOCKOPTLEN_T int |
#define | SIO_UDP_CONNRESET _WSAIOW(IOC_VENDOR,12) |
#define | SO_EXCLUSIVEADDRUSE ((int)(~SO_REUSEADDR)) /* disallow local address reuse */ |
#define | WS_ERROR_DEBUG(x) Q_UNUSED(x) |
Functions | |
static bool | multicastMembershipHelper (QNativeSocketEnginePrivate *d, int how6, int how4, const QHostAddress &groupAddress, const QNetworkInterface &iface) |
static int | qt_socket_getMaxMsgSize (int socketDescriptor) |
static void | qt_socket_getPortAndAddress (SOCKET socketDescriptor, const qt_sockaddr *sa, quint16 *port, QHostAddress *address) |
static QAbstractSocket::SocketType | qt_socket_getType (int socketDescriptor) |
static void | qt_socket_setPortAndAddress (SOCKET socketDescriptor, sockaddr_in *sockAddrIPv4, qt_sockaddr_in6 *sockAddrIPv6, quint16 port, const QHostAddress &address, sockaddr **sockAddrPtr, QT_SOCKLEN_T *sockAddrSize) |
Sets the port and address to a sockaddr. More... | |
#define _WSAIOW | ( | x, | |
y | |||
) | (IOC_IN|(x)|(y)) |
Definition at line 298 of file qnativesocketengine_win.cpp.
#define AF_INET6 23 /* Internetwork Version 6 */ |
Definition at line 155 of file qnativesocketengine_win.cpp.
Referenced by qt_socket_getPortAndAddress(), and qt_socket_setPortAndAddress().
#define IOC_VENDOR 0x18000000 |
Definition at line 295 of file qnativesocketengine_win.cpp.
#define QT_SOCKLEN_T int |
Definition at line 163 of file qnativesocketengine_win.cpp.
Referenced by multicastMembershipHelper(), qt_socket_getMaxMsgSize(), and qt_socket_getType().
#define QT_SOCKOPTLEN_T int |
Definition at line 164 of file qnativesocketengine_win.cpp.
Referenced by multicastMembershipHelper().
#define SIO_UDP_CONNRESET _WSAIOW(IOC_VENDOR,12) |
Definition at line 300 of file qnativesocketengine_win.cpp.
#define SO_EXCLUSIVEADDRUSE ((int)(~SO_REUSEADDR)) /* disallow local address reuse */ |
Definition at line 159 of file qnativesocketengine_win.cpp.
#define WS_ERROR_DEBUG | ( | x | ) | Q_UNUSED(x) |
Definition at line 150 of file qnativesocketengine_win.cpp.
Referenced by multicastMembershipHelper(), qt_socket_getMaxMsgSize(), and qt_socket_getType().
|
static |
Definition at line 840 of file qnativesocketengine_win.cpp.
|
inlinestatic |
Definition at line 259 of file qnativesocketengine_win.cpp.
|
inlinestatic |
Definition at line 171 of file qnativesocketengine_win.cpp.
Referenced by multicastMembershipHelper().
|
inlinestatic |
Definition at line 241 of file qnativesocketengine_win.cpp.
|
inlinestatic |
Sets the port and address to a sockaddr.
Requires that sa point to the IPv6 struct if the address is IPv6.
Definition at line 210 of file qnativesocketengine_win.cpp.
Referenced by multicastMembershipHelper().