22.11.2016, 08:45
And also, GetPlayerIpPort() function, port is always the server's port ?
Obviously. And no, that would be the client port. This is pretty useless to know since the port is chosen ad random from a pool of available ports in the range 49152 – 65535. See: https://en.wikipedia.org/wiki/Ephemeral_port
|
During a generic DDoS attack where the attacker isn't exploiting something within the server, OnIncomingConnection won't be called. It is only called when someone sends an incoming connection to the SA-MP server, not the IP address/network.
|