0b44a031
1 2 3 4 5 6 7
#include <sys/socket.h> #include <arpa/inet.h> int inet_aton(const char *cp, struct in_addr *inp) { return inet_pton(AF_INET, cp, (void *)inp) > 0; }