www.pudn.com > e041tcpipc51.rar > NETUTIL.H
#ifndef BYTE #define BYTE unsigned char #endif #ifndef WORD #define WORD unsigned int #endif #ifndef LWORD #define LWORD unsigned long #endif /* Prototypes */ char *ipstr(LWORD ip, char *s); char *ethstr(BYTE *addr, char *str); LWORD atoip(char *str); char *skiptoken(char *str, char *tok); char *skipspace(char *str); char *skippunct(char *str); int in_limits(LWORD val, LWORD lo, LWORD hi); void hexdump(BYTE *buff, WORD len); /* EOF */