-
Notifications
You must be signed in to change notification settings - Fork 0
Sockets
Godashboard uses several UDP sockets to communicate with boards, cameras, and other dashboards. Several of these are common with the boards, while others are exclusively used by dashboard.
Relevant files:
- Port:
42080
- Host:
224.0.0.3
The multicast socket is used for most data sent from boards to dashboard. Any data sent to the multicast address is received by all dashboards and anything else that registers itself to listen to it, so this channel is used for most data collection.
In order to register itself to listen to the multicast IP, dashboard needs to select a specific network interface to register. It waits and searches for an interface with an IP in the 10.0.0.*
subnet and registers the first one it finds.
- Port:
42099
- Host:
10.0.0.255
The broadcast socket is used for any packet that needs to be received by everything on the system rather than just by dashboards. The most obvious use case is aborts.
- Port:
42098
- Host:
10.0.0.255
The chat socket is used for sending chat messages between dashboards.
Warning
Bug: This doesn't actually work.
- Port:
42081
- Host:
127.0.0.1
(localhost)
The camera socket is used to receive JPEG images from the camera script to display live camera feeds. This socket is only useful for receiving packets, not sending them.