REDIRECT (new IRCX message)

Informs the client that they need to connect to another server.

Syntax:

:<server> REDIRECT <server-list> :<reason>

Parameters

<server-list> The server list is a comma separated list of host:port pairs. The server list can be specified either as a fully-qualified domain name or by the IP address in quad- dotted notation.

<reason> The redirect reason is an implementation-dependent string which can optionally be displayed to the client.

Remarks

The REDIRECT message can be sent to the client at any time to request that the client disconnect and reconnect to another server specified in the list. The REDIRECT message is generally sent when a server is to be shutdown.

A REDIRECT message will not be sent to a non-IRCX client.

Example

Example 4.4. Redirect Example

Server: :<server> REDIRECT chat.corp.net:6667,134.9.3.3:6667 :Server full.

[Note]Editor's Note

The IRCX draft does not specify if the REDIRECT message requires a prefix. Server developers should send the REDIRECT message with a prefix. Client developers should expect it either way.