Installing MinGW GCC

MinGW is a port of GCC to Windows. It is the compiler we recommend for this book.

You can obtain MinGW from http://www.mingw.org/. Find the download link on that page and download and run the MinGW Installation Manager (mingw-get).

The MinGW Installation Manager is a GUI tool for installing MinGW. It's shown in the following screenshot:

Click Install. Then, click Continue. Wait while some files download, and then click Continue once again.

At this point, the tool will give you a list of packages that you can install. You need to mark mingw32-base-bin, msys-base-bin, and mingw32-gcc-g++-bin for installation. This is shown ...

Get Hands-On Network Programming with C now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.