xbox_send_message

Sends an xbox message and waits for response

function xbox_send_message(
  string $msg,
  inout mixed $ret,
  int $timeout_ms,
  string $host = 'localhost',
): bool;

Please read server documentation for what an xbox is.

Parameters

  • string $msg - The message.
  • inout mixed $ret - The response.
  • int $timeout_ms - How many milli-seconds to wait.
  • string $host = 'localhost' - Which machine to send to.

Returns

  • bool - - TRUE if successful, FALSE otherwise.