NetworkMgr::GetProtocol
Defined in:
Returns the protocol identifier used by the current application.
C4Network.h
Prototype
uint32 GetProtocol(void) const;
Description
The protocol identifier returned by the GetProtocol
function is a unique 32-bit quantity that identifies the current application. The Network Manager will only allow connections from remote machines that are using the same protocol identifier as the local machine.The high 16 bits of the protocol identifier represent the application, and the low 16 bits are used as a revision number. Every application must use its unique protocol identifier to prevent unintentional communications with other applications using the Network Manager.
See Also