MessageMgr::BroadcastServerQuery
Defined in:
Locates servers on a LAN.
C4Messages.h
Prototype
void BroadcastServerQuery(void) const;
Description
Calling the BroadcastServerQuery
function causes a message to be broadcasted to the local area network asking servers to identify themselves. When a server receives this message, it calls the Application::HandleConnectionEvent
function with the kConnectionQueryReceived
event to inform the application module that it should send back information about the server.Only servers using the same protocol as that used by the local machine will receive the broadcasted query. The local machine's protocol can be set by calling the Network Manager function
NetworkMgr::SetProtocol
.
See Also