class CAVERNplus_socketbase_c A base level socket class subclassed by CAVERNplus_tcp_c, CAVERNplus_udp_c, CAVERNplus_mcast_c
|
| expandHostName (char *src, char *newname, int len) If hostname is not fully expanded (ie does not include its domain) then expand it. |
|
| getAverageReceiveBandwidth () Compute average incoming bandwidth by a connection. |
|
| getAverageSendBandwidth () Compute average outgoing bandwidth by a connection. |
|
| getHostName (char *name, int len) Get the full host name of a local client |
|
| getInstantReceiveBandwidth () Compute total instantaneous incoming bandwidth by a connection. |
|
| getInstantSendBandwidth () Compute total instantaneous outgoing bandwidth by a connection. |
|
| getTimeInSecs () Get time in secs with microsecond accuracy |
|
| getTotalDataReceived () Compute total data received by a connection. |
|
| getTotalDataSent () Compute the total data sent by a connection. |
|
| hostnameToIP (char *hostname, char* hostIP) Convert a hostname to an ip address of xxx.xxx.xxx.xxx |
|
| ipNumToString (unsigned int ip, char *ipstring) Convert ip address to a string of xxx.xxx.xxx.xxx |
|
| showStats () Print stats on sent and received data. |
A base level socket class subclassed by CAVERNplus_tcp_c, CAVERNplus_udp_c, CAVERNplus_mcast_c. The class itself does no networking. It provides some common member functions that are useful for network coding. In general one does not create an instance of this type.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de