a guest Sep 15th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- // Raw socket
- int sock = socket (AF_INET, SOCK_RAW, IPPROTO_RAW);
- // UDP socket (recieve)
- int rcv_sock = socket (AF_INET, SOCK_RAW, IPPROTO_UDP);
RAW Paste Data