xentara-utils v2.0.4
The Xentara Utility Library
|
This is the complete list of members for xentara::utils::network::Socket, including all inherited members.
accept(Options... options) const -> Socket | xentara::utils::network::Socket | |
addressFamily() const noexcept -> int | xentara::utils::network::Socket | |
bind(PortNumber portNumber) -> void | xentara::utils::network::Socket | |
bind(const Address &address) -> void | xentara::utils::network::Socket | |
close() noexcept -> void | xentara::utils::network::Socket | |
compatibleSocket(int socketType, const Address &address, Options... options) -> Socket | xentara::utils::network::Socket | static |
connect(const Address &address) -> bool | xentara::utils::network::Socket | |
connectedSocket(int socketType, const Address &address, Options... options) -> Socket | xentara::utils::network::Socket | static |
connectedSocket(int socketType, const std::vector< Address > &addresses, Options... options) -> Socket | xentara::utils::network::Socket | static |
connectedSocket(int socketType, std::string_view hostName, Options... options) -> Socket | xentara::utils::network::Socket | static |
description() const noexcept -> std::string_view | xentara::utils::network::Socket | |
Direction enum name | xentara::utils::network::Socket | |
error() const -> std::error_code | xentara::utils::network::Socket | |
getOption(int level, int optionName, std::nothrow_t) const noexcept -> xentara::utils::eh::expected< Value, std::error_code > | xentara::utils::network::Socket | |
listen(Options... options) -> void | xentara::utils::network::Socket | |
listeningSocket(int socketType, PortNumber portNumber, Options... options) -> Socket | xentara::utils::network::Socket | static |
listeningSocket(int socketType, const Address &address, Options... options) -> Socket | xentara::utils::network::Socket | static |
localAddress() const -> Address | xentara::utils::network::Socket | |
makeNonBlocking(bool nonBlocking=true) -> void | xentara::utils::network::Socket | |
native() const noexcept -> int | xentara::utils::network::Socket | |
native() const noexcept -> SOCKET | xentara::utils::network::Socket | |
operator bool() const noexcept | xentara::utils::network::Socket | explicit |
option(int level, int optionName) const -> Value | xentara::utils::network::Socket | |
performOverlappedIo(functional::function_ref< auto(SOCKET, OVERLAPPED *) → BOOL > operation, HANDLE event, std::optional< std::chrono::nanoseconds > timeout=std::nullopt) -> std::optional< DWORD > | xentara::utils::network::Socket | |
performOverlappedIo(functional::function_ref< auto(SOCKET, OVERLAPPED *) → BOOL > operation, std::span< HANDLE > waitObjects, std::optional< std::chrono::nanoseconds > timeout=std::nullopt) -> std::optional< windows::OverlappedResult > | xentara::utils::network::Socket | |
poll(short events, std::optional< std::chrono::nanoseconds > timeout=std::nullopt) const -> short | xentara::utils::network::Socket | |
poll(short events, const io::StopSource &stopSource, std::optional< std::chrono::nanoseconds > timeout=std::nullopt) const -> short | xentara::utils::network::Socket | |
poll(std::span< pollfd > sockets, std::optional< std::chrono::nanoseconds > timeout=std::nullopt) -> bool | xentara::utils::network::Socket | static |
poll(std::span< pollfd > sockets, const io::StopSource &stopSource, std::optional< std::chrono::nanoseconds > timeout=std::nullopt) -> bool | xentara::utils::network::Socket | static |
protocol() const noexcept -> int | xentara::utils::network::Socket | |
receive(void *buffer, std::size_t size, int flags=0) const -> std::optional< std::size_t > | xentara::utils::network::Socket | |
receiveFrom(void *buffer, std::size_t size, int flags=0) const -> std::pair< std::optional< std::size_t >, Address > | xentara::utils::network::Socket | |
release() noexcept -> int | xentara::utils::network::Socket | |
release() noexcept -> SOCKET | xentara::utils::network::Socket | |
remoteAddress() const -> Address | xentara::utils::network::Socket | |
send(const void *data, std::size_t size, int flags=0) const -> std::size_t | xentara::utils::network::Socket | |
sendTo(const void *data, std::size_t size, const Address &destination, int flags=0) const -> std::size_t | xentara::utils::network::Socket | |
setOption(int level, int optionName, const Value &value) -> void | xentara::utils::network::Socket | |
setOption(int level, int optionName, const Value &value, std::nothrow_t) noexcept -> std::error_code | xentara::utils::network::Socket | |
shutdown(Direction directions=Direction::ReadWrite) -> void | xentara::utils::network::Socket | |
Socket() noexcept=default | xentara::utils::network::Socket | |
Socket(int addressFamily, int socketType, Options... options) | xentara::utils::network::Socket | |
Socket(posix::File socketFileDescriptor) noexcept | xentara::utils::network::Socket | |
Socket(windows::Socket socket) noexcept | xentara::utils::network::Socket | |
socketType() const noexcept -> int | xentara::utils::network::Socket | |
throwError(ExceptionArguments &&...exceptionArguments) -> void | xentara::utils::network::Socket | |
waitForEvent(short events, const io::StopSource &stopSource, std::optional< std::chrono::nanoseconds > timeout=std::nullopt) const -> short | xentara::utils::network::Socket |