OMNeT++ is an open source discrete event simulation environment. This blog is an where you can get complete information about the OMNeT tool from basic to professional stage.
Click the following link and download OMNeT++ along with MinGW (This is the 4.2 release of the OMNeT++ platform. This package is for Windows, and contains the MinGW C++ compiler.)