21 int addr_len, numbytes;
53 (
struct sockaddr *)&their_addr, &addr_len)) != -1) {
INT WSAAPI recvfrom(IN SOCKET s, OUT CHAR FAR *buf, IN INT len, IN INT flags, OUT LPSOCKADDR from, IN OUT INT FAR *fromlen)
INT WINAPI WSAStartup(IN WORD wVersionRequested, OUT LPWSADATA lpWSAData)
_CRTIMP void __cdecl perror(_In_opt_z_ const char *_ErrMsg)
int display_dhcp_packet(DHCPMESSAGE *dhcpm, DHCPOPTIONS *dhcpo)
int parse_dhcp_options(DHCPMESSAGE *, DHCPOPTIONS *)
int process_dhcp_packet(DHCPMESSAGE *, DHCPOPTIONS *)
INT WSAAPI bind(IN SOCKET s, IN CONST struct sockaddr *name, IN INT namelen)
SOCKET WSAAPI socket(IN INT af, IN INT type, IN INT protocol)
int PASCAL FAR WSACleanup(void)