SmartIrc4net API documentation

IrcConnection.Connect Method (String[], Int32)

Connects to the specified server and port, when the connection fails the next server in the list will be used.

public void Connect(
   string[] addresslist,
   int port
);

Parameters

addresslist
List of servers to connect to
port
Portnumber to connect to

Exceptions

Exception Type Condition
CouldNotConnectException The connection failed
AlreadyConnectedException If there is already an active connection

See Also

IrcConnection Class | Meebey.SmartIrc4net Namespace | IrcConnection.Connect Overload List