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

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

_currentGroupjsocketpp::MulticastSocketprivate
_currentInterfacejsocketpp::MulticastSocketprivate
_haveLocalAddrjsocketpp::DatagramSocketprivate
_haveRemoteAddrjsocketpp::DatagramSocketmutableprivate
_internalBufferjsocketpp::DatagramSocketprivate
_isBoundjsocketpp::DatagramSocketprivate
_isConnectedjsocketpp::DatagramSocketprivate
_localAddrjsocketpp::DatagramSocketprivate
_localAddrLenjsocketpp::DatagramSocketprivate
_loopbackEnabledjsocketpp::MulticastSocketprivate
_portjsocketpp::DatagramSocketprivate
_remoteAddrjsocketpp::DatagramSocketmutableprivate
_remoteAddrLenjsocketpp::DatagramSocketmutableprivate
_sockFdjsocketpp::SocketOptionsprivate
_ttljsocketpp::MulticastSocketprivate
asBytes(const std::string_view sv) noexceptjsocketpp::DatagramSocketinlineprotectedstatic
bind()jsocketpp::DatagramSocket
bind(Port localPort)jsocketpp::DatagramSocket
bind(std::string_view localAddress, Port localPort)jsocketpp::DatagramSocket
cacheLocalEndpoint() noexceptjsocketpp::DatagramSocketinlineprotected
chooseReceiveSize() constjsocketpp::DatagramSocketinlineprotected
cleanup()jsocketpp::DatagramSocketprotected
cleanupAndRethrow()jsocketpp::DatagramSocketprotected
cleanupAndThrow(int errorCode)jsocketpp::DatagramSocketprotected
close()jsocketpp::DatagramSocket
connect(std::string_view host, Port port, int timeoutMillis)jsocketpp::DatagramSocket
DatagramSocket(Port localPort=0, std::string_view localAddress="", 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 nonBlocking=false, bool dualStack=true, bool autoBind=true, bool autoConnect=false, std::string_view remoteAddress="", Port remotePort=0, int connectTimeoutMillis=-1)jsocketpp::DatagramSocketexplicit
DatagramSocket(const DatagramSocket &)=deletejsocketpp::DatagramSocket
DatagramSocket(DatagramSocket &&rhs) noexceptjsocketpp::DatagramSocketinline
detectFamily(SOCKET fd)jsocketpp::SocketOptionsprotectedstatic
discard(const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocket
discardExact(std::size_t n, const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocket
disconnect()jsocketpp::DatagramSocket
encodeLengthPrefixBE(std::size_t n)jsocketpp::DatagramSocketinlineprotectedstatic
enforceSendCapConnected(const std::size_t payloadSize) constjsocketpp::DatagramSocketinlineprotected
getBroadcast() constjsocketpp::SocketOptions
getCurrentGroup() constjsocketpp::MulticastSocket
getIPv6Only() constjsocketpp::SocketOptions
getKeepAlive() constjsocketpp::SocketOptions
getLastPeerSockAddr() constjsocketpp::DatagramSocketinline
getLocalIp(bool convertIPv4Mapped)jsocketpp::DatagramSocket
getLocalPort()jsocketpp::DatagramSocket
getLocalSocketAddress(bool convertIPv4Mapped)jsocketpp::DatagramSocket
getLoopbackMode() constjsocketpp::MulticastSocketinline
getMTU() constjsocketpp::DatagramSocket
getMulticastInterface() constjsocketpp::MulticastSocketinline
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) constjsocketpp::DatagramSocket
getRemotePort() constjsocketpp::DatagramSocket
getRemoteSocketAddress(bool convertIPv4Mapped) constjsocketpp::DatagramSocket
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
getTimeToLive() constjsocketpp::MulticastSocketinline
hasPendingData(int timeoutMillis) constjsocketpp::DatagramSocket
is_ipv4_multicast(const in_addr v4)jsocketpp::SocketOptionsinlineprotectedstatic
is_ipv6_multicast(const in6_addr &v6)jsocketpp::SocketOptionsinlineprotectedstatic
isBound() const noexceptjsocketpp::DatagramSocketinline
isClosed() const noexceptjsocketpp::DatagramSocketinline
isConnected() const noexceptjsocketpp::DatagramSocketinline
isPassiveSocket() const noexceptjsocketpp::SocketOptionsinlineprotectedvirtual
isValid() const noexceptjsocketpp::DatagramSocketinline
joinGroup(const std::string &groupAddr, const std::string &iface)jsocketpp::MulticastSocket
joinGroupIPv4(in_addr group, in_addr iface)jsocketpp::SocketOptions
joinGroupIPv6(in6_addr group, unsigned int ifindex)jsocketpp::SocketOptions
leaveGroup(const std::string &groupAddr, const std::string &iface="")jsocketpp::MulticastSocket
leaveGroupIPv4(in_addr group, in_addr iface)jsocketpp::SocketOptions
leaveGroupIPv6(in6_addr group, unsigned int ifindex)jsocketpp::SocketOptions
MulticastSocket(Port localPort, std::string_view localAddress, 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 nonBlocking=false, bool dualStack=true, bool autoBind=true)jsocketpp::MulticastSocket
operator=(const DatagramSocket &)=deletejsocketpp::DatagramSocket
operator=(DatagramSocket &&rhs) noexceptjsocketpp::DatagramSocketinline
jsocketpp::SocketOptions::operator=(const SocketOptions &)=deletejsocketpp::SocketOptions
jsocketpp::SocketOptions::operator=(SocketOptions &&) noexcept=defaultjsocketpp::SocketOptions
peek(DatagramPacket &packet, bool allowResize=true, const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocket
read(DatagramPacket &packet, const DatagramReadOptions &opts) constjsocketpp::DatagramSocket
read(const DatagramReadOptions &opts={}, std::size_t minCapacity=DefaultDatagramReceiveSize) constjsocketpp::DatagramSocketinline
read(const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocketinline
readAtMost(std::span< char > out, const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocket
readAtMost(std::size_t n) constjsocketpp::DatagramSocket
readAtMostWithTimeout(std::size_t n, int timeoutMillis) constjsocketpp::DatagramSocket
readAvailable() constjsocketpp::DatagramSocket
readAvailable(std::span< char > out, const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocket
readExact(void *buffer, std::size_t exactLen, const ReadExactOptions &opts={}) constjsocketpp::DatagramSocket
readExact(std::span< char > out, const ReadExactOptions &opts={}) constjsocketpp::DatagramSocket
readExact(T &buffer, const std::size_t exactLen, const ReadExactOptions &opts={}) constjsocketpp::DatagramSocketinline
readFrom(T &buffer, std::string *senderAddr, Port *senderPort, const DatagramReadOptions &opts) constjsocketpp::DatagramSocketinline
readInto(void *buffer, std::size_t len, const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocket
readInto(std::span< char > out, const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocket
readIntoBuffer(char *buf, std::size_t len, DatagramReceiveMode mode, int recvFlags, sockaddr_storage *outSrc, socklen_t *outSrcLen, std::size_t *outDatagramSz, bool *outTruncated) constjsocketpp::DatagramSocketprotected
readIntoExact(void *buffer, std::size_t len) constjsocketpp::DatagramSocket
readPrefixed(std::size_t maxPayloadLen=MaxDatagramPayloadSafe, const std::endian prefixEndian=std::endian::big) constjsocketpp::DatagramSocketinline
readv(std::span< BufferView > buffers, const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocket
readvAll(std::span< BufferView > buffers, const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocket
readvAllBytes(std::span< BufferView > buffers, const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocketinline
readvAllWithTotalTimeout(std::span< BufferView > buffers, int totalTimeoutMillis, const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocket
readvAllWithTotalTimeoutBytes(std::span< BufferView > buffers, int totalTimeoutMillis, const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocketinline
readvAtMostWithTimeout(std::span< BufferView > buffers, int timeoutMillis, const DatagramReadOptions &opts={}) constjsocketpp::DatagramSocket
readvAtMostWithTimeout(std::span< BufferView > buffers, int timeoutMillis) constjsocketpp::DatagramSocketinline
rememberRemote(const sockaddr_storage &src, const socklen_t len) const noexceptjsocketpp::DatagramSocketinlineprotected
resolveIPv4(std::string_view host)jsocketpp::MulticastSocketprotectedstatic
resolveIPv6(std::string_view host)jsocketpp::MulticastSocketprotectedstatic
sendPrefixedConnected(const std::span< const std::byte > payload) constjsocketpp::DatagramSocketinlineprotected
sendPrefixedUnconnected(const std::string_view host, const Port port, const std::span< const std::byte > payload)jsocketpp::DatagramSocketinlineprotected
sendUnconnectedTo(std::string_view host, Port port, const void *data, std::size_t len)jsocketpp::DatagramSocketprotected
setBroadcast(bool on)jsocketpp::SocketOptions
setInternalBufferSize(std::size_t newLen)jsocketpp::DatagramSocket
setIPv6Only(bool enable)jsocketpp::SocketOptions
setKeepAlive(bool on)jsocketpp::SocketOptions
setLoopbackMode(bool enable)jsocketpp::MulticastSocket
setMulticastInterface(const std::string &iface)jsocketpp::MulticastSocket
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
setTimeToLive(int ttl)jsocketpp::MulticastSocket
SocketOptions()=deletejsocketpp::SocketOptions
SocketOptions(const SOCKET sock) noexceptjsocketpp::SocketOptionsinlineexplicit
SocketOptions(const SocketOptions &)=deletejsocketpp::SocketOptions
SocketOptions(SocketOptions &&) noexcept=defaultjsocketpp::SocketOptions
throwSizeMismatch(const std::size_t expected, const std::size_t actual, const bool isProbedKnown)jsocketpp::DatagramSocketinlineprotectedstatic
toIfIndexFromString(const std::string &iface)jsocketpp::MulticastSocketprotectedstatic
tryGetRemoteSockaddr(sockaddr_storage &out, socklen_t &outLen) constjsocketpp::DatagramSocketprotected
waitReady(Direction dir, int timeoutMillis) constjsocketpp::DatagramSocket
write(std::string_view message) constjsocketpp::DatagramSocket
write(const T &value) constjsocketpp::DatagramSocketinline
write(std::span< const std::byte > data) constjsocketpp::DatagramSocket
write(const DatagramPacket &packet)jsocketpp::DatagramSocket
writeAll(std::string_view message) constjsocketpp::DatagramSocket
writeFrom(const void *data, std::size_t len) constjsocketpp::DatagramSocket
writePrefixed(const std::string_view payload) constjsocketpp::DatagramSocketinline
writePrefixed(const std::span< const std::byte > payload) constjsocketpp::DatagramSocketinline
writePrefixedTo(const std::string_view host, const Port port, const std::string_view payload) constjsocketpp::DatagramSocketinline
writePrefixedTo(const std::string_view host, const Port port, const std::span< const std::byte > payload) constjsocketpp::DatagramSocketinline
writeTo(std::string_view host, Port port, std::string_view message)jsocketpp::DatagramSocket
writeTo(std::string_view host, Port port, std::span< const std::byte > data)jsocketpp::DatagramSocket
writeTo(const std::string_view host, const Port port, const T &value) constjsocketpp::DatagramSocketinline
writev(std::span< const std::string_view > buffers) constjsocketpp::DatagramSocket
writevAll(std::span< const std::string_view > buffers) constjsocketpp::DatagramSocket
writeWithTimeout(std::string_view data, int timeoutMillis) constjsocketpp::DatagramSocket
~DatagramSocket() noexcept overridejsocketpp::DatagramSocket
~SocketOptions()=defaultjsocketpp::SocketOptionsvirtual