Open Lighting Architecture: ola::network::SocketAddress Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
ola::network::SocketAddress Class Referenceabstract
Network

## Detailed Description

The base SocketAddress.

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

Inheritance diagram for ola::network::SocketAddress:

## 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

Implemented in IPV4SocketAddress, ola::acn::IPV4SocketAddress, ola::e133::IPV4SocketAddress, ola::IPV4SocketAddress, ola::network::IPV4SocketAddress, ola::plugin::artnet::IPV4SocketAddress, ola::plugin::espnet::IPV4SocketAddress, ola::plugin::kinet::IPV4SocketAddress, ola::plugin::openpixelcontrol::IPV4SocketAddress, ola::plugin::osc::IPV4SocketAddress, ola::plugin::pathport::IPV4SocketAddress, ola::plugin::sandnet::IPV4SocketAddress, ola::plugin::shownet::IPV4SocketAddress, ola::plugin::stageprofi::IPV4SocketAddress, and ola::rpc::IPV4SocketAddress.

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

- include/ola/network/SocketAddress.h