P2P Net's icon

P2P Net 1.0.0 Misc 4.3 Community

Submitted by user elestranobaron; MIT; 2026-05-29

Generic P2P networking layer for Godot 4. Provides a WebSocket signaling client and server (compatible with the official Godot webrtc_signaling demo), WebRTC mesh transport, and a simple raw-bytes API.

Features:
- host_room() / join_room() with room codes
- send_to() and broadcast() with Error return codes
- seal_lobby(), peer_joined when WebRTC is ready
- Optional local signaling server scene (port 8080)
- Headless smoke tests included

Desktop exports require the webrtc-native GDExtension (https://github.com/godotengine/webrtc-native). HTML5 uses Godot's built-in WebRTC. Run godot --import once after installing the extension.


View files Download Submit an issue Recent Edits