Home  +  Forums  +  C++ and Sockets  +  C++ and SQL: MySQL, sqlite, ODBC  +  Miscellaneous Projects

ICMP programming example

This is a chat program that use the ICMP protocol to communicate. It's a conversion from a gpl'd C code example written by Vergil at www.ragestorm.net. There are two new socket classes - Stdin/Stdin2 to read from the console and ICMPTwistSocket to read/write the icmp messages.

Latest version

Download icmpexample-1.3.tar.gz 2006-10-03 Update to sockets library v2.1

Download icmpexample-1.2.tar.gz 2006-04-20

Download icmpexample-1.1.tar.gz 2005-09-16

Download icmpexample-1.0.tar.gz

Please note. This example was primarily developed on linux, and may require some tweaking to compile on other platforms.

Source code documentation (generated by Doxygen). Select "File List" from the doxygen index page to see a list of all files in the example. Then select "[code]" to read the source code of that file. Files beginning with lowercase are usually the main() starting point, and files beginning with uppercase usually contains a class of the same name as the file itself.

Class Diagram generated by dp
Class Diagram
Page, code, and content Copyright (C) 2021 by Anders Hedström