AMX Mod X API Documentation

Signature
native socket_send(_socket, const _data[], _length);
Description

Sends data.

Notes
  • The amount of bytes that end up being sent may be lower than the total length of the array,

    check the return value and send the rest if needed.

Parameters
  • _socket Socket descriptor
  • _data Array with the data to send
  • _length Length of the array
Returns

Amount of bytes sent

-1 on failure

Назад
Верх