News

Windows Socket Programming (Winsock) Install a C Compiler (e.g., MinGW or Microsoft Visual Studio). Link against Winsock during compilation (e.g., use -lws2_32 for MinGW). Compile the code: gcc -o ...
IPv4 # ICMPv4: When create a ICMP socket socket(AF_INET, SOCK_RAW, IPPROTO_ICMP), the kernel will fill the Ethernet and IP header automatically. Using ancillary data to specify the option content for ...