Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::network::SocketAddress Class Referenceabstract

Detailed Description

The base SocketAddress.

One day if we support V6 there will be another derived class.

Inheritance diagram for ola::network::SocketAddress:
ola::network::GenericSocketAddress ola::network::IPV4SocketAddress

Public Member Functions

virtual uint16_t Family () const =0
 
virtual bool ToSockAddr (struct sockaddr *addr, unsigned int size) const =0
 
virtual std::string ToString () const =0
 

Friends

std::ostream & operator<< (std::ostream &out, const SocketAddress &address)
 

Member Function Documentation

◆ ToSockAddr()

virtual bool ola::network::SocketAddress::ToSockAddr ( struct sockaddr * addr,
unsigned int size ) const
pure virtual

The documentation for this class was generated from the following file: