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
_internalBufferjsocketpp::Socketprivate
_remoteAddrjsocketpp::Socketprivate
_remoteAddrLenjsocketpp::Socketmutableprivate
_selectedAddrInfojsocketpp::Socketprivate
_sockFdjsocketpp::Socketprivate
addressToString(const sockaddr_storage &addr)jsocketpp::Socketstatic
cleanupAndThrow(int errorCode)jsocketpp::Socketprotected
close()jsocketpp::Socket
connect(int timeoutMillis=-1) constjsocketpp::Socket
discard(std::size_t n, std::size_t chunkSize=1024) constjsocketpp::Socket
enableKeepAlive(bool enable)jsocketpp::Socket
enableNoDelay(bool enable)jsocketpp::Socket
getNonBlocking() constjsocketpp::Socket
getOption(int level, int optName) constjsocketpp::Socket
getReceiveBufferSize() constjsocketpp::Socket
getRemoteSocketAddress(bool convertIPv4Mapped=true) constjsocketpp::Socket
getSendBufferSize() constjsocketpp::Socket
isConnected() constjsocketpp::Socket
isValid() const noexceptjsocketpp::Socketinline
operator=(const Socket &rhs)=deletejsocketpp::Socket
operator=(Socket &&rhs) noexceptjsocketpp::Socketinline
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) constjsocketpp::Socketinline
readPrefixed()jsocketpp::Socketinline
readPrefixed(const std::size_t maxPayloadLen)jsocketpp::Socketinline
readUntil(char delimiter, std::size_t maxLen=8192, bool includeDelimiter=true) constjsocketpp::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
ServerSocket classjsocketpp::Socketfriend
setInternalBufferSize(std::size_t newLen)jsocketpp::Socket
setNonBlocking(bool nonBlocking) constjsocketpp::Socket
setOption(int level, int optName, int value)jsocketpp::Socket
setReceiveBufferSize(std::size_t size)jsocketpp::Socket
setSendBufferSize(std::size_t size)jsocketpp::Socket
setSoTimeout(int millis, bool forRead=true, bool forWrite=true)jsocketpp::Socket
shutdown(ShutdownMode how) constjsocketpp::Socket
Socket(SOCKET client, const sockaddr_storage &addr, socklen_t len, std::size_t recvBufferSize, std::size_t sendBufferSize, std::size_t internalBufferSize)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)jsocketpp::Socket
Socket(const Socket &rhs)=deletejsocketpp::Socket
Socket(Socket &&rhs) noexceptjsocketpp::Socketinline
stringToAddress(const std::string &str, sockaddr_storage &addr)jsocketpp::Socketstatic
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 &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() noexceptjsocketpp::Socket