![]() |
libgpac
Documentation of the core library of GPAC
|
Network tools (time, byte ordering, ...) More...
Functions | |
| u32 | gf_net_has_ipv6 () |
| gets ipv6 support | |
| Bool | gf_net_is_ipv6 (const char *address) |
| checks address type | |
| u32 | gf_htonl (u32 val) |
| u32 | gf_ntohl (u32 val) |
| u16 | gf_htons (u16 val) |
| u16 | gf_ntohs (u16 val) |
Network tools (time, byte ordering, ...)
| u32 gf_net_has_ipv6 | ( | ) |
gets ipv6 support
Returns IPV6 support information.
| Bool gf_net_is_ipv6 | ( | const char * | address | ) |
checks address type
Checks if an address is an IPV6 or IPV4 one.
| address | address to check |
host to network conversion of integer
| val | integrer to convert |
network to host conversion of integer
| val | integrer to convert |
host to network conversion of short integer
| val | short integrer to convert |