Allows end-user to read information and to control the hardware layer.
const char* gxPLIoBcastAddrGet |
( |
const gxPLApplication * |
app | ) |
|
Broadcast network address as a string.
- Parameters
-
app | pointer to a gxPLApplication object |
- Returns
- the address as a string, NULL if an error occurs
- Examples:
- hub/gxpl-hub.c.
const gxPLIoAddr* gxPLIoInfoGet |
( |
const gxPLApplication * |
app | ) |
|
Local Network informations.
- Parameters
-
app | pointer to a gxPLApplication object |
- Returns
- network infos, NULL if an error occurs
- Examples:
- hub/gxpl-hub.c.
const char* gxPLIoInterfaceGet |
( |
const gxPLApplication * |
app | ) |
|
Name of the network interface on the system.
- Parameters
-
app | pointer to a gxPLApplication object |
- Returns
- the name, NULL if an error occurs
- Examples:
- hub/gxpl-hub.c.
const char* gxPLIoLayerGet |
( |
const gxPLApplication * |
app | ) |
|
Name of the underlying layer of the network.
- Parameters
-
app | pointer to a gxPLApplication object |
- Returns
- the name, NULL if an error occurs
xVector* gxPLIoLayerList |
( |
void |
| ) |
|
Returns a list of io layers available on the system.
- Returns
- returned list of io layers as a pointeur on an vector of const string, NULL if error occurs
- Warning
- the list returned by the pointer must be freed with vVectorDestroy() after use.
const char* gxPLIoLocalAddrGet |
( |
const gxPLApplication * |
app | ) |
|
Local network address as a string.
- Parameters
-
app | pointer to a gxPLApplication object |
- Returns
- network address as a string, NULL if an error occurs
const xVector* gxPLIoLocalAddrList |
( |
const gxPLApplication * |
app | ) |
|
Local network address list as a vector of strings.
- Parameters
-
app | pointer to a gxPLApplication object |
- Returns
- the vector of strings, NULL if an error occurs
- Examples:
- hub/gxpl-hub.c.