Connects to an IRC server.
Namespace: NetIrc2Assembly: NetIrc2 (in NetIrc2.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Connect( string hostname, int port = 6667, IrcClientConnectionOptions options = null )
Parameters
- hostname
- Type: System String
The server hostname.
- port (Optional)
- Type: System Int32
The server port.
- options (Optional)
- Type: NetIrc2 IrcClientConnectionOptions
Options for the connection, if any, or null.
See Also