O2 2.0
A communication protocol for interactive music and media applications.
hostip.h
1// room for IP address in dot notation and terminating EOS
2#ifdef __cplusplus
3extern "C" {
4#endif
5
6#include <stdbool.h>
7
8#define O2N_IP_LEN 16
9
10extern bool o2n_internet_enabled;
11extern bool o2n_network_enabled;
12extern bool o2n_network_found;
13extern char o2n_internal_ip[O2N_IP_LEN];
14
15void o2n_get_internal_ip(char *internal_ip);
16void o2_hex_to_dot(const char *hex, char *dot);
17int o2_hex_to_byte(const char *hex);
18
19
20#ifdef __cplusplus
21}
22#endif
void o2_hex_to_dot(const char *hex, char *dot)
Convert from hex format to dot format IP address.
Definition: hostipimpl.h:156