2 * Acess2 Common Networking Library
3 * By John Hodge (thePowersGang)
10 * \brief Parse a string as an IP Address
11 * \param String Input string
12 * \param Addr Output binary format of the address
13 * \return Address family (0: Invalid, 4: IPv4, 6: IPv6)
15 extern int Net_ParseAddress(const char *String, void *Addr);
18 * \brief Get the interface required to reach \a Addr
19 * \param AddrType Addresss Family (4: IPv4, 6: IPv6)
20 * \param Addr Address in binary format
21 * \return Interface number
23 extern int Net_GetInterface(int AddrType, void *Addr);