evart-client  2.2
Functions
Connecting to the evart-stream server

Functions

void evas_setport (uint16_t port)
 Configure the IP port used by the evart-stream server.
void evas_sethost (const char *host)
 Configure the host name where the evart-stream server is running.

Function Documentation

void evas_setport ( uint16_t  port)

Configure the IP port used by the evart-stream server.

This function can be called at anytime, but it's probably more useful to call it before any function that contact the remote server (see Receiving data). In any case, subsequent calls to such functions will use the new port value.

Parameters:
[in]portThe port number, as configured on the remote server.
void evas_sethost ( const char *  host)

Configure the host name where the evart-stream server is running.

This function can be called at anytime, but it's probably more useful to call it before any function that contact the remote server (see Receiving data). In any case, subsequent calls to such functions will use the new host value.

Parameters:
[in]hostThe host (IP address or name) where the remote server is running. If host is NULL, then the local host is used.
 All Data Structures Variables