Sese Framework
x.y.z
A cross-platform framework
|
命名空间 | |
namespace | dns |
namespace | http |
namespace | ws |
类 | |
class | Address |
地址类 更多... | |
class | AddressPool |
IP 地址池 更多... | |
class | IPAddress |
IP 地址类 更多... | |
class | IPv4Address |
IPv4 地址类 更多... | |
class | IPv6Address |
IPv6 地址类 更多... | |
class | ReusableSocket |
可重用地址和端口的套接字构建器 更多... | |
class | Socket |
Native Socket 类 更多... | |
类型定义 | |
using | IPv4AddressPool = AddressPool<sese::net::IPv4Address> |
using | IPv6AddressPool = AddressPool<sese::net::IPv6Address> |
函数 | |
template<typename T > | |
static T | CreateMask (uint32_t bits) |
int | inetPton (int af, const char *src, void *dst) noexcept |
uint16_t | createRandomPort () noexcept |
int | getNetworkError () noexcept |
获取网络相关 error 代码 | |
std::string | getNetworkErrorString (int error=getNetworkError()) noexcept |
获取网络相关错误描述 | |
|
static |
|
noexcept |
|
externnoexcept |
获取网络相关 error 代码
被这些函数引用 sese::net::Socket::connect(), sese::security::SecuritySocket::connect(), sese::_windows::iocp::v1::NativeIOCPServer::eventThreadProc(), sese::Result< T >::fromLastNetworkError(), sese::service::TcpTransporter::onRead(), sese::iocp::v1::IOCPService::onWrite(), sese::service::TcpTransporter::onWrite(), sese::_windows::iocp::v1::NativeIOCPServer::postConnect(), sese::iocp::v1::IOCPServer::postConnect(), sese::_windows::iocp::v1::NativeIOCPServer::postRead() , 以及 sese::_windows::iocp::v1::NativeIOCPServer::postWrite().
|
noexcept |
获取网络相关错误描述
error | 代码 |
|
noexcept |