EMANE  1.0.1
EMANE::MulticastSocket Class Reference

#include <multicastsocket.h>

Inheritance diagram for EMANE::MulticastSocket:
EMANE::Socket

Public Member Functions

 MulticastSocket ()
 
 MulticastSocket (const INETAddr &address, bool bReuseAddress=false, const std::string &sDevice="", std::uint8_t u8TTL=1, bool bLoop=false)
 
 ~MulticastSocket ()
 
void open (const INETAddr &address, bool bReuseAddress=false, const std::string &sDevice="", std::uint8_t u8TTL=1, bool bLoop=false)
 
ssize_t send (const iovec *iov, int iovcnt, int flags=0) const
 
ssize_t recv (void *buf, size_t len, int flags=0)
 
void close ()
 
ssize_t sendto (const void *buf, size_t len, int flags, const INETAddr &address)
 

Protected Attributes

int iSock_
 

Detailed Description

Definition at line 45 of file multicastsocket.h.

Constructor & Destructor Documentation

◆ MulticastSocket() [1/2]

EMANE::MulticastSocket::MulticastSocket ( )

Definition at line 41 of file multicastsocket.cc.

◆ MulticastSocket() [2/2]

EMANE::MulticastSocket::MulticastSocket ( const INETAddr address,
bool  bReuseAddress = false,
const std::string &  sDevice = "",
std::uint8_t  u8TTL = 1,
bool  bLoop = false 
)

Definition at line 43 of file multicastsocket.cc.

◆ ~MulticastSocket()

EMANE::MulticastSocket::~MulticastSocket ( )

Definition at line 251 of file multicastsocket.cc.

Member Function Documentation

◆ close()

void EMANE::Socket::close ( )
inherited

Definition at line 40 of file socket.cc.

◆ open()

void EMANE::MulticastSocket::open ( const INETAddr address,
bool  bReuseAddress = false,
const std::string &  sDevice = "",
std::uint8_t  u8TTL = 1,
bool  bLoop = false 
)

Definition at line 56 of file multicastsocket.cc.

◆ recv()

ssize_t EMANE::MulticastSocket::recv ( void *  buf,
size_t  len,
int  flags = 0 
)

Definition at line 268 of file multicastsocket.cc.

◆ send()

ssize_t EMANE::MulticastSocket::send ( const iovec *  iov,
int  iovcnt,
int  flags = 0 
) const

Definition at line 254 of file multicastsocket.cc.

◆ sendto()

ssize_t EMANE::Socket::sendto ( const void *  buf,
size_t  len,
int  flags,
const INETAddr address 
)
inherited

Definition at line 49 of file socket.cc.

Member Data Documentation

◆ iSock_

int EMANE::Socket::iSock_
protectedinherited

Definition at line 55 of file socket.h.


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