Omikrone/Janus ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Windows only C++ client and server demo that shows a reverse TCP connection between two test machines.
I want the client to connect out to the server, keep the connection open in the background, and let the server send basic commands that the client runs and returns the output for, just for a safe lab setup on machines I own. Make it easy to change the host and port, and use CMake so I can build both parts from source.
Keep it straightforward and visible, no persistence, no stealth, no antivirus evasion, and no other hidden behavior. If you need to look up current Windows C++ socket or CMake docs online, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit