#include <netstructs.h>
Collaboration diagram for NetConnectionList:

Public Member Functions | |
| NetConnectionList (int max=253) | |
| NetConnectionList (void *data) | |
| void * | getData () |
| |
| IPaddress * | get (int i) |
| void | set (IPaddress a, int i) |
| int | size () |
| Uint32 | count () |
| |
| NetConnectionList::NetConnectionList | ( | int | max = 253 |
) | [inline] |
Constructor.
| max | specifies the maximum number of addresses to store (space will be reserved accordingly) |
| NetConnectionList::NetConnectionList | ( | void * | data | ) | [inline] |
Constructor to use, when data is availible and has to be read/modified.
| data | pointer to the data, in the format of NetConnectionList |
| IPaddress* NetConnectionList::get | ( | int | i | ) | [inline] |
Use this together with size() when transmitting the struct's content over the network.
| i | the number of the address in the list to read |
| void NetConnectionList::set | ( | IPaddress | a, | |
| int | i | |||
| ) | [inline] |
Changes a list entry to the given address
| a | the address to store (in NBO) | |
| i | the number of the address in the list to write to (in OSBO) |
| int NetConnectionList::size | ( | ) | [inline] |
Use this together with get(int) when transmitting the struct's content over the network.
1.5.1