xentara-utils v1.2.1
Xentara utilities library
Loading...
Searching...
No Matches
xentara::utils::network::Socket Member List

This is the complete list of members for xentara::utils::network::Socket, including all inherited members.

accept(Options... options) const -> Socketxentara::utils::network::Socket
addressFamily() const noexcept -> intxentara::utils::network::Socket
bind(PortNumber portNumber) -> voidxentara::utils::network::Socket
bind(const Address &address) -> voidxentara::utils::network::Socket
close() noexcept -> voidxentara::utils::network::Socket
compatibleSocket(int socketType, const Address &address, Options... options) -> Socketxentara::utils::network::Socketstatic
connect(const Address &address) -> boolxentara::utils::network::Socket
connectedSocket(int socketType, const Address &address, Options... options) -> Socketxentara::utils::network::Socketstatic
connectedSocket(int socketType, const std::vector< Address > &addresses, Options... options) -> Socketxentara::utils::network::Socketstatic
connectedSocket(int socketType, std::string_view hostName, Options... options) -> Socketxentara::utils::network::Socketstatic
description() const noexcept -> std::string_viewxentara::utils::network::Socket
Direction enum namexentara::utils::network::Socket
error() const -> std::error_codexentara::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) -> voidxentara::utils::network::Socket
listeningSocket(int socketType, PortNumber portNumber, Options... options) -> Socketxentara::utils::network::Socketstatic
listeningSocket(int socketType, const Address &address, Options... options) -> Socketxentara::utils::network::Socketstatic
localAddress() const -> Addressxentara::utils::network::Socket
makeNonBlocking(bool nonBlocking=true) -> voidxentara::utils::network::Socket
native() const noexcept -> intxentara::utils::network::Socket
native() const noexcept -> SOCKETxentara::utils::network::Socket
operator bool() const noexceptxentara::utils::network::Socketexplicit
option(int level, int optionName) const -> Valuexentara::utils::network::Socket
performOverlappedIo(const std::function< auto(SOCKET, OVERLAPPED *) → BOOL > &operation, HANDLE event, std::optional< std::chrono::nanoseconds > timeout=std::nullopt) -> std::optional< DWORD >xentara::utils::network::Socket
performOverlappedIo(const std::function< 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 -> shortxentara::utils::network::Socket
poll(std::span< pollfd > sockets, std::optional< std::chrono::nanoseconds > timeout=std::nullopt) -> boolxentara::utils::network::Socketstatic
protocol() const noexcept -> intxentara::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 -> intxentara::utils::network::Socket
release() noexcept -> SOCKETxentara::utils::network::Socket
remoteAddress() const -> Addressxentara::utils::network::Socket
send(const void *data, std::size_t size, int flags=0) const -> std::size_txentara::utils::network::Socket
sendTo(const void *data, std::size_t size, const Address &destination, int flags=0) const -> std::size_txentara::utils::network::Socket
setOption(int level, int optionName, const Value &value) -> voidxentara::utils::network::Socket
setOption(int level, int optionName, const Value &value, std::nothrow_t) noexcept -> std::error_codexentara::utils::network::Socket
shutdown(Direction directions=Direction::ReadWrite) -> voidxentara::utils::network::Socket
Socket() noexcept=defaultxentara::utils::network::Socket
Socket(int addressFamily, int socketType, Options... options)xentara::utils::network::Socket
Socket(posix::File socketFileDescriptor) noexceptxentara::utils::network::Socket
Socket(windows::Socket socket) noexceptxentara::utils::network::Socket
socketType() const noexcept -> intxentara::utils::network::Socket
throwError(ExceptionArguments &&...exceptionArguments) -> voidxentara::utils::network::Socket