There are many ways to write, compile, and debug your C/C++ code. One popular option is to use an IDE (Integrated Development Environment) which allows you to do all of those in one single program.
Check for existence of similar tools: Gnu Netcat Ncat Socat Linkcat Nc.py (sometimes called Pycat) http://atlas.r4780y.com/resources/atlasutils-2.2.5.tgz ...