|An IPV4 TCP or UDP address. More...|
|C++ class wrapper for struct ::sockaddr from sys/socket.h. More...|
|inline::std::ostream &||operator<< (::std::ostream &os, SocketAddress &sa)|
The only notable classes in here are SocketAddress and InetAddress. SocketAddress represents a generic network address that can be fed in as the argument to a 'connect' or 'bind' system call. InetAddress represents an IPV4 address.
If these were really well done, I'd have IPV4Address, IPV4TCPAddress, and IPV4tUDPAddress. Then IPV4Address wouldn't have a port number, and the other two would. But, as mention previously, these classes desparately need overhauling, not the least because they use DNS synchronously and can mysteriously halt your program waiting for DNS queries to resolve.