#include <QtCore>
#include <QtNetwork>
#include "networkmessage.h"
Go to the source code of this file.
|
static quint16 | _htons (const quint16 x) |
|
static quint32 | _htonl (const quint32 x) |
|
static quint16 | _ntohs (const char *in) |
|
static quint32 | _ntohl (const char *in) |
|
Value:((((x) & 0xFF00u) >> 8) | \
(((x) & 0x00FFu) << 8))
Definition at line 21 of file networkmessage.cpp.
Value:((((x) & 0xFF000000u) >> 24) | \
(((x) & 0x00FF0000u) >> 8) | \
(((x) & 0x0000FF00u) << 8) | \
(((x) & 0x000000FFu) << 24))
Definition at line 15 of file networkmessage.cpp.
#define MAX_MSG_LEN 60000 |
static quint32 _htonl |
( |
const quint32 |
x | ) |
|
|
static |
static quint16 _htons |
( |
const quint16 |
x | ) |
|
|
static |
static quint32 _ntohl |
( |
const char * |
in | ) |
|
|
static |
static quint16 _ntohs |
( |
const char * |
in | ) |
|
|
static |