1#ifndef NET_UnixSeqPacketSocket_h__
2#define NET_UnixSeqPacketSocket_h__
40 [[nodiscard]]
static std::pair<UnixSeqPacketSocket, UnixSeqPacketSocket>
59 [[nodiscard]] std::optional<UnixSeqPacketSocket>
accept()
const;
70 [[nodiscard]] std::optional<UnixSeqPacketSocket>
timedAccept(
int timeout)
const;
void listen(int backlog=128)
listen for incoming connections
ConnectResult finishConnect(int timeout=0)
check if a previously started connected attempt is finished
std::optional< UnixSeqPacketSocket > accept() const
UnixSocket(int type, int protocol)
allows a subclass to create new socket
std::optional< UnixSeqPacketSocket > timedAccept(int timeout) const
static std::pair< UnixSeqPacketSocket, UnixSeqPacketSocket > createPair(bool nonBlocking=false)
static UnixSeqPacketSocket adoptNativeHandle(int sockfd)
Take ownership of an existing native Unix seqpacket socket descriptor.
UnixSocket(int type, int protocol)
allows a subclass to create new socket