mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 02:30:54 +00:00
Add ping packet support
This commit is contained in:
@@ -186,6 +186,10 @@ void TNetwork::Identify(const TConnection& client) {
|
||||
Authentication(client);
|
||||
} else if (Code == 'D') {
|
||||
HandleDownload(client.Socket);
|
||||
} else if (Code == 'P') {
|
||||
send(client.Socket, "P", 1, 0);
|
||||
CloseSocketProper(client.Socket);
|
||||
return;
|
||||
} else {
|
||||
CloseSocketProper(client.Socket);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user