jsocketpp 1.0
A cross-platform C++20 socket library.
Loading...
Searching...
No Matches
jsocketpp::Socket Member List

This is the complete list of members for jsocketpp::Socket, including all inherited members.

_cliAddrInfojsocketpp::Socketprivate
_inputShutdownjsocketpp::Socketprivate
_internalBufferjsocketpp::Socketprivate
_isBoundjsocketpp::Socketprivate
_isConnectedjsocketpp::Socketprivate
_outputShutdownjsocketpp::Socketprivate
_remoteAddrjsocketpp::Socketprivate
_remoteAddrLenjsocketpp::Socketmutableprivate
_selectedAddrInfojsocketpp::Socketprivate
_sockFdjsocketpp::SocketOptionsprivate
bind(std::string_view localHost, Port port)jsocketpp::Socket
bind(Port port)jsocketpp::Socket
bind()jsocketpp::Socket
cleanup()jsocketpp::Socketprotected
cleanupAndRethrow()jsocketpp::Socketprotected
cleanupAndThrow(int errorCode)jsocketpp::Socketprotected
close()jsocketpp::Socket
connect(int timeoutMillis=-1)jsocketpp::Socket
detectFamily(SOCKET fd)jsocketpp::SocketOptionsprotectedstatic
discard(std::size_t n, std::size_t chunkSize=1024) constjsocketpp::Socket
getBroadcast() constjsocketpp::SocketOptions
getIPv6Only() constjsocketpp::SocketOptions
getKeepAlive() constjsocketpp::SocketOptions
getLocalIp(bool convertIPv4Mapped=true) constjsocketpp::Socket
getLocalPort() constjsocketpp::Socket
getLocalSocketAddress(bool convertIPv4Mapped=true) constjsocketpp::Socket
getMulticastLoopback() constjsocketpp::SocketOptions
getMulticastTTL() constjsocketpp::SocketOptions
getNonBlocking() constjsocketpp::SocketOptions
getOption(int level, int optName) constjsocketpp::SocketOptions
getOption(int level, int optName, void *result, socklen_t *len) constjsocketpp::SocketOptions
getReceiveBufferSize() constjsocketpp::SocketOptions
getRemoteIp(bool convertIPv4Mapped=true) constjsocketpp::Socket
getRemotePort() constjsocketpp::Socket
getRemoteSocketAddress(bool convertIPv4Mapped=true) constjsocketpp::Socket
getReuseAddress() constjsocketpp::SocketOptions
getReusePort() constjsocketpp::SocketOptions
getSendBufferSize() constjsocketpp::SocketOptions
getSocketFd() const noexceptjsocketpp::SocketOptionsinline
getSoLinger() constjsocketpp::SocketOptions
getSoRecvTimeout() constjsocketpp::SocketOptions
getSoSendTimeout() constjsocketpp::SocketOptions
getTcpNoDelay() constjsocketpp::SocketOptions
is_ipv4_multicast(const in_addr v4)jsocketpp::SocketOptionsinlineprotectedstatic
is_ipv6_multicast(const in6_addr &v6)jsocketpp::SocketOptionsinlineprotectedstatic
isBound() const noexceptjsocketpp::Socketinline
isClosed() const noexceptjsocketpp::Socketinline
isConnected() const noexceptjsocketpp::Socketinline
isInputShutdown() const noexceptjsocketpp::Socketinline
isOutputShutdown() const noexceptjsocketpp::Socketinline
isPassiveSocket() const noexceptjsocketpp::SocketOptionsinlineprotectedvirtual
isValid() const noexceptjsocketpp::Socketinline
joinGroupIPv4(in_addr group, in_addr iface)jsocketpp::SocketOptions
joinGroupIPv6(in6_addr group, unsigned int ifindex)jsocketpp::SocketOptions
leaveGroupIPv4(in_addr group, in_addr iface)jsocketpp::SocketOptions
leaveGroupIPv6(in6_addr group, unsigned int ifindex)jsocketpp::SocketOptions
operator=(const Socket &rhs)=deletejsocketpp::Socket
operator=(Socket &&rhs) noexceptjsocketpp::Socketinline
jsocketpp::SocketOptions::operator=(const SocketOptions &)=deletejsocketpp::SocketOptions
jsocketpp::SocketOptions::operator=(SocketOptions &&) noexcept=defaultjsocketpp::SocketOptions
peek(std::size_t n) constjsocketpp::Socket
read()jsocketpp::Socketinline
read()jsocketpp::Socketinline
readAtMost(std::size_t n) constjsocketpp::Socket
readAtMostWithTimeout(std::size_t n, int timeoutMillis) constjsocketpp::Socket
readAvailable() constjsocketpp::Socket
readExact(std::size_t n) constjsocketpp::Socket
readInto(void *buffer, const std::size_t len) constjsocketpp::Socketinline
readIntoAvailable(void *buffer, std::size_t bufferSize) constjsocketpp::Socket
readIntoExact(void *buffer, const std::size_t len) constjsocketpp::Socketinline
readIntoInternal(void *buffer, std::size_t len, bool exact=false) constjsocketpp::Socketprotected
readLine(const std::size_t maxLen=8192, const bool includeDelimiter=true)jsocketpp::Socketinline
readPrefixed()jsocketpp::Socketinline
readPrefixed(const std::size_t maxPayloadLen)jsocketpp::Socketinline
readUntil(char delimiter, std::size_t maxLen=8192, bool includeDelimiter=true)jsocketpp::Socket
readv(std::span< BufferView > buffers) constjsocketpp::Socket
readvAll(std::span< BufferView > buffers) constjsocketpp::Socket
readvAllWithTotalTimeout(std::span< BufferView > buffers, int timeoutMillis) constjsocketpp::Socket
readvAtMostWithTimeout(std::span< BufferView > buffers, int timeoutMillis) constjsocketpp::Socket
resetShutdownFlags() noexceptjsocketpp::Socketinlineprotected
ServerSocket classjsocketpp::Socketfriend
setBroadcast(bool on)jsocketpp::SocketOptions
setInternalBufferSize(std::size_t newLen)jsocketpp::Socket
setIPv6Only(bool enable)jsocketpp::SocketOptions
setKeepAlive(bool on)jsocketpp::SocketOptions
setMulticastInterfaceIPv4(in_addr addr)jsocketpp::SocketOptions
setMulticastInterfaceIPv6(unsigned int ifindex)jsocketpp::SocketOptions
setMulticastLoopback(bool enable)jsocketpp::SocketOptions
setMulticastTTL(int ttl)jsocketpp::SocketOptions
setNonBlocking(bool nonBlocking)jsocketpp::SocketOptions
setOption(int level, int optName, int value)jsocketpp::SocketOptions
setOption(int level, int optName, const void *value, socklen_t len)jsocketpp::SocketOptions
setReceiveBufferSize(std::size_t size)jsocketpp::SocketOptions
setReuseAddress(bool on)jsocketpp::SocketOptions
setReusePort(const bool enable)jsocketpp::SocketOptions
setSendBufferSize(std::size_t size)jsocketpp::SocketOptions
setSocketFd(const SOCKET sock) noexceptjsocketpp::SocketOptionsinlineprotected
setSoLinger(bool enable, int seconds)jsocketpp::SocketOptions
setSoRecvTimeout(int millis)jsocketpp::SocketOptions
setSoSendTimeout(int millis)jsocketpp::SocketOptions
setTcpNoDelay(bool on)jsocketpp::SocketOptions
shutdown(ShutdownMode how) constjsocketpp::Socket
Socket(SOCKET client, const sockaddr_storage &addr, socklen_t len, std::size_t recvBufferSize=DefaultBufferSize, std::size_t sendBufferSize=DefaultBufferSize, std::size_t internalBufferSize=DefaultBufferSize, int soRecvTimeoutMillis=-1, int soSendTimeoutMillis=-1, bool tcpNoDelay=true, bool keepAlive=false, bool nonBlocking=false)jsocketpp::Socketprotected
Socket()=deletejsocketpp::Socket
Socket(std::string_view host, Port port, std::optional< std::size_t > recvBufferSize=std::nullopt, std::optional< std::size_t > sendBufferSize=std::nullopt, std::optional< std::size_t > internalBufferSize=std::nullopt, bool reuseAddress=true, int soRecvTimeoutMillis=-1, int soSendTimeoutMillis=-1, bool dualStack=true, bool tcpNoDelay=true, bool keepAlive=false, bool nonBlocking=false, bool autoConnect=true, bool autoBind=false, std::string_view localAddress="", Port localPort=0)jsocketpp::Socket
Socket(const Socket &rhs)=deletejsocketpp::Socket
Socket(Socket &&rhs) noexceptjsocketpp::Socketinline
SocketOptions()=deletejsocketpp::SocketOptions
SocketOptions(const SOCKET sock) noexceptjsocketpp::SocketOptionsinlineexplicit
SocketOptions(const SocketOptions &)=deletejsocketpp::SocketOptions
SocketOptions(SocketOptions &&) noexcept=defaultjsocketpp::SocketOptions
waitReady(bool forWrite, int timeoutMillis) constjsocketpp::Socket
write(std::string_view message) constjsocketpp::Socket
writeAll(std::string_view message) constjsocketpp::Socket
writeAtMostWithTimeout(std::string_view data, int timeoutMillis) constjsocketpp::Socket
writeFrom(const void *data, std::size_t len) constjsocketpp::Socket
writeFromAll(const void *data, std::size_t len) constjsocketpp::Socket
writePrefixed(const std::string_view payload)jsocketpp::Socketinline
writePrefixed(const void *data, std::size_t len) constjsocketpp::Socketinline
writev(std::span< const std::string_view > buffers) constjsocketpp::Socket
writevAll(std::span< const std::string_view > buffers) constjsocketpp::Socket
writevFrom(std::span< const BufferView > buffers) constjsocketpp::Socket
writevFromAll(std::span< BufferView > buffers) constjsocketpp::Socket
writevFromWithTotalTimeout(std::span< BufferView > buffers, int timeoutMillis) constjsocketpp::Socket
writevWithTotalTimeout(std::span< const std::string_view > buffers, int timeoutMillis) constjsocketpp::Socket
writeWithTotalTimeout(std::string_view data, int timeoutMillis) constjsocketpp::Socket
~Socket() noexcept overridejsocketpp::Socket
~SocketOptions()=defaultjsocketpp::SocketOptionsvirtual