Support Forum G3D Web Page |
Options for configuring the G3D Discovery protocol.
More...
Public Types | |
enum | { CLIENT_QUERY_TYPE = 44144, SERVER_DESCRIPTION_TYPE = 10101 } |
Public Member Functions | |
Settings () | |
Public Attributes | |
uint16 | clientBroadcastPort |
Port on which clients broadcast looking for servers. More... | |
GuiTheme::TextStyle | displayStyle |
For the client side server browser. More... | |
String | prompt |
Server browser prompt on the client side. More... | |
RealTime | serverAdvertisementPeriod |
Servers announce themselves every serverAdvertisementPeriod seconds, and whenever they hear a client request. More... | |
uint16 | serverBroadcastPort |
Port on which servers advertise themselves. More... | |
Options for configuring the G3D Discovery protocol.
These rarely need to be changed except for the client-side display options.
|
inline |
uint16 G3D::Discovery::Settings::clientBroadcastPort |
Port on which clients broadcast looking for servers.
GuiTheme::TextStyle G3D::Discovery::Settings::displayStyle |
For the client side server browser.
Uninitialized fields are taken from the theme.
RealTime G3D::Discovery::Settings::serverAdvertisementPeriod |
Servers announce themselves every serverAdvertisementPeriod seconds, and whenever they hear a client request.
Clients assume that any server that has not updated its advertisement for three times this period is offline.
Must be greater than zero.
uint16 G3D::Discovery::Settings::serverBroadcastPort |
Port on which servers advertise themselves.