This project demonstrates a peer-to-peer (P2P) communication system using Electron. It allows multiple windows to communicate with each other using both P2P and Electron's IPC (Inter-Process Communication) mechanisms.
- Send messages between windows using P2P, sending data through electron's IPC when necessary
- Can force message sending through Electron's IPC
- Handle peer connections with automatic reconnection
- Create new peer windows
- Create a main window
npm i
# simple p2p
npm run dev1
# p2p and popup window
npm run dev2
# popup window
npm run dev3
