80 virtual operator const sockaddr*()
const;
82 virtual operator sockaddr*();
84 virtual unsigned len()
const;
86 virtual std::string
str()
const;
88 virtual std::string
host()
const;
91 void host(
const std::string&);
106 virtual void reset();
141 virtual void reset();
Socket address base class.
A unix domain address, which is a file of type "socket.".
UnixAddr()
IPv6 SocketBase address, initialized with "any" address.
virtual std::string host() const
Get host name.
virtual std::string str() const
Descriptive string for socket address.
UnixAddr & operator=(const UnixAddr &)
Copy assign.
virtual unsigned len() const
Length of socket address.
Unix domain tcp (stream) socket.
UnixTcpSock accept()
Accept a connection from an anonymous peer.
virtual void reset()
Reset the socket.
UnixAddr get_addr()
Get the socket address.
Unix domain udp (datagram) socket.
virtual void reset()
Reset the socket.
UnixAddr get_addr()
Get the socket address.
std::ostream & operator<<(std::ostream &, const scc::net::InetAddr &)
Print the socket address details to an output stream.
Low-level tcp and udp sockets.