dukebismaya/spectre ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Windows Bluetooth chat app in C++ that lets two computers talk directly over RFCOMM, with one side acting as the host and the other connecting by Bluetooth address.
I want it to feel like a clean terminal based messenger, where the host waits for a connection and the client connects and then both sides can type messages back and forth in real time. Keep it lightweight, no server, no web stuff, just direct Bluetooth communication using the native Windows Bluetooth stack. It should have a clear async receive loop so incoming messages show up while I keep typing, and it should work from the command line with a host app and a client app.
If you need to, look up the current Windows Bluetooth and Winsock docs online to make sure the code is using the right APIs and build setup. Make it easy to compile with CMake too.
Are you gonna build this?
make sure you review the code using coderabbit