xbox_send_message

Description

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

Sends an xbox message and waits for response. 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.