1#ifndef NET_UnixSocket_h__
2#define NET_UnixSocket_h__
30 void bind( std::string_view localPath);
SimpleSocket(const SimpleSocket &)=delete
std::string getForeignPath() const
ConnectResult connect(std::string_view foreignPath)
UnixSocket(int type, int protocol)
allows a subclass to create new socket
void bind(std::string_view localPath)
UnixSocket & operator=(UnixSocket &&other) noexcept
std::string getLocalPath() const
UnixSocket(UnixSocket &&other) noexcept
UnixSocket(AdoptSocketTag, int sockfd, int type)
allows a subclass to take ownership of an existing socket
PeerCredentials peerCredentials() const
ConnectResult
result of the connection attempt
used to safely adopt internal socket descriptor
Unix credentials of a socket peer.