How the P2P Chat Works
This is a direct Wi-Fi chat using WebRTC. No external server is needed, just two devices on the same network!
Step 1: One user clicks "Be Host" and copies the generated code.
Step 2: The other user pastes the code and clicks "Connect as Client," generating a response.
Step 3: The host pastes the response and clicks "Process Signaling." Exchange ICE candidates if needed.
Result: Connection established! Send messages directly via Wi-Fi.