qr2_clientconnectedcallback_t
This callback is set via qr2_register_clientconnected_callback; called when a client has connected to the server.
- typedef void (*qr2_clientconnectedcallback_t)(
- SOCKET gameSocket,
- struct sockaddr_in * remoteaddr,
- void * userdata );
Routine | Required Header | Distribution |
---|---|---|
qr2_clientconnectedcallback_t | <qr2.h> | SDKZIP |
Parameters
- gameSocket
- [in] The socket on which the client connected
- remoteaddr
- [in] The client's address and port.
- userdata
- [in] The userdata that was passed into qr2_init.
Section Reference: Gamespy Query and Reporting 2 SDK
See Also: qr2_init, qr2_register_clientconnected_callback