#include <unistd.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <cerrno>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/ioctl.h>
Go to the source code of this file.
|
enum class | Ult::NetMsgType {
Ult::NetMsgType::ServerDisconnect = 0
, Ult::NetMsgType::ClientDisconnect
, Ult::NetMsgType::ForceDisconnect
, Ult::NetMsgType::ConnectAccepted
,
Ult::NetMsgType::SendError
, Ult::NetMsgType::RespondRequire
, Ult::NetMsgType::RespondOk
} |
|
enum class | Ult::NetType { Ult::NetType::Null = 0
, Ult::NetType::Server
, Ult::NetType::Client
} |
|
enum class | Ult::NetResult { Ult::NetResult::NoData = 0
, Ult::NetResult::DataFail
, Ult::NetResult::PartialData
, Ult::NetResult::DataSuccess
} |
|
◆ INVALID_SOCKET
#define INVALID_SOCKET -1 |
◆ IOCTL_TYPE
◆ ioctlsocket
#define ioctlsocket ioctl |
◆ SOCKET_ERROR