1 2 3 4 5 6 7 8 9
int main() { sock = arp_bind("address"); while (1) { arp_recv(sock, buf); arp_send(target, data); } return 0; }