protected SendMessageConnect ( string hostName, int port, string targetServer = null ) : void | ||
hostName | string | The host name of the other server to which the server should connect. |
port | int | The port on the other server to which the server should connect. |
targetServer | string |
/// The name of the server to which to forward the message, or |
return | void |
protected void SendMessageConnect(string hostName, int port, string targetServer = null)
{
WriteMessage(null, "connect", hostName, port.ToString(), targetServer);
}