15 #include <sys/socket.h>
16 #include <system_error>
47 throw std::system_error(errno, std::system_category());
std::shared_ptr< Address > Ptr
ClientSocket(std::shared_ptr< Address > theAddress)
static ClientSocket::Ptr open(std::shared_ptr< Address > theAddress)
static ClientSocket::Ptr create(std::shared_ptr< Address > theAddress)
std::shared_ptr< ClientSocket > Ptr
Interface for the low-level address implementation.
virtual socklen_t getSockAddrLen() const =0
virtual const struct sockaddr & getSockAddr() const =0
BSD Socket base class providing the basic, common functionality between ServerSockets and ClientSocke...
int getLowLevelSocket() const
std::shared_ptr< Address > getAddress() const
Namespace of the BsdSockets library.