Sese Framework
x.y.z
A cross-platform framework
|
Native Socket 类 更多...
#include "sese/net/IPv6Address.h"
#include "sese/Config.h"
#include "sese/io/Closeable.h"
#include "sese/io/Stream.h"
#include "sese/io/PeekableStream.h"
#include "sese/util/Initializer.h"
#include <system_error>
类 | |
class | sese::net::Socket |
Native Socket 类 更多... | |
命名空间 | |
namespace | sese |
namespace | sese::net |
宏定义 | |
#define | W(func) |
#define | R(func) |
函数 | |
uint16_t | sese::net::createRandomPort () noexcept |
int | sese::net::getNetworkError () noexcept |
获取网络相关 error 代码 | |
std::string | sese::net::getNetworkErrorString (int error=getNetworkError()) noexcept |
获取网络相关错误描述 | |
Native Socket 类
#define R | ( | func | ) |
被这些函数引用 sese::net::Socket::readInt16().
#define W | ( | func | ) |
被这些函数引用 sese::net::Socket::writeInt16().