class <Network/IP> IPNetwork : public Network


Inheritance:


Public Methods

int add_membership(Socket, in_addr& grp)
join mcast
static int bindsock(Socket, in_addr&, u_int16_t, sockaddr_in&)
int command(int argc, const char*const* argv)
virtual in Network
static int connectsock(Socket, in_addr&, u_int16_t, sockaddr_in&)
int drop_membership(Socket, in_addr& grp)
leave mcast
inline in_addr& dstaddr()
IPNetwork()
inline in_addr& laddr()
inline int noloopback_broken()
current mcast ttl
static int rbufsize(Socket, int)
inline Socket rchannel()
int recv(u_char* buf, int len, sockaddr& from, double& )
virtual in Network
static int sbufsize(Socket, int)
inline Socket schannel()
virtual in Network
int send(u_char* buf, int len)
virtual in Network
int setmloop(Socket, int)
set mcast loopback
int setmttl(Socket, int)
set mcast ttl
inline int ttl()

Protected Fields

in_addr destaddr_
remote side, if set (network order)
time_t last_reset_
in_addr localaddr_
local side (network order)
int loop_
do we want loopbacks?
int mttl_
multicast ttl to use
int noloopback_broken_
couldn't turn (off) mcast loopback
Socket rsock_
socket to receive on
Socket ssock_
socket to send on

Protected Methods

int close()
virtual int open(int mode)
open sockets/endpoints
virtual void reconfigure()
restore state after reset
void reset(int reconfigure)
reset + reconfig?

Inherited from Network:

Public Methods

int mode()
static char* modename(int)
static int nonblock(int fd)
static int parsemode(const char*)

Protected Fields

int mode_

Documentation

IPNetwork()

inline int ttl()

inline int noloopback_broken()
current mcast ttl

int setmttl(Socket, int)
set mcast ttl

int setmloop(Socket, int)
set mcast loopback

int command(int argc, const char*const* argv)
virtual in Network

inline Socket rchannel()

inline Socket schannel()
virtual in Network

int send(u_char* buf, int len)
virtual in Network

int recv(u_char* buf, int len, sockaddr& from, double& )
virtual in Network

inline in_addr& laddr()

inline in_addr& dstaddr()

int add_membership(Socket, in_addr& grp)
join mcast

int drop_membership(Socket, in_addr& grp)
leave mcast

static int bindsock(Socket, in_addr&, u_int16_t, sockaddr_in&)

static int connectsock(Socket, in_addr&, u_int16_t, sockaddr_in&)

static int rbufsize(Socket, int)

static int sbufsize(Socket, int)

in_addr destaddr_
remote side, if set (network order)

in_addr localaddr_
local side (network order)

int mttl_
multicast ttl to use

Socket rsock_
socket to receive on

Socket ssock_
socket to send on

int noloopback_broken_
couldn't turn (off) mcast loopback

int loop_
do we want loopbacks?

void reset(int reconfigure)
reset + reconfig?

virtual int open(int mode)
open sockets/endpoints

virtual void reconfigure()
restore state after reset

int close()

time_t last_reset_


Direct child classes:
UDPIPNetwork

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de