ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

UDPIPNetwork Class Reference

Inheritance diagram for UDPIPNetwork:

IPNetwork Network TclObject List of all members.

Public Member Functions

 UDPIPNetwork ()
int send (u_char *, int)
int recv (u_char *, int, sockaddr &, double &)
int open (int mode)
int command (int argc, const char *const *argv)
void reconfigure ()
void add_membership (Socket, in_addr &, u_int16_t)

Protected Member Functions

int bind (in_addr &, u_int16_t port)
int connect (in_addr &remoteaddr, u_int16_t port)

Protected Attributes

u_int16_t lport_
u_int16_t port_

Constructor & Destructor Documentation

UDPIPNetwork::UDPIPNetwork  
 


Member Function Documentation

void UDPIPNetwork::add_membership Socket   ,
in_addr &   ,
u_int16_t   
 

int UDPIPNetwork::bind in_addr &   ,
u_int16_t    port
[protected]
 

int UDPIPNetwork::command int    argc,
const char *const *    argv
[virtual]
 

Reimplemented from IPNetwork.

int UDPIPNetwork::connect in_addr &    remoteaddr,
u_int16_t    port
[protected]
 

int UDPIPNetwork::open int    mode [virtual]
 

Reimplemented from IPNetwork.

void UDPIPNetwork::reconfigure   [virtual]
 

Reimplemented from IPNetwork.

int UDPIPNetwork::recv u_char *   ,
int   ,
sockaddr &   ,
double  
[virtual]
 

Reimplemented from IPNetwork.

int UDPIPNetwork::send u_char *   ,
int   
[virtual]
 

Reimplemented from IPNetwork.


Member Data Documentation

u_int16_t UDPIPNetwork::lport_ [protected]
 

u_int16_t UDPIPNetwork::port_ [protected]
 


The documentation for this class was generated from the following file:
This document is generated by doxygen.