xbox_send_message

Sends an xbox message and waits for response

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

Please read server documentation for what an xbox is.

Parameters

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

Return Values

  • bool - - TRUE if successful, FALSE otherwise.