![]() |
![]() |
serverConnects to the specified server |
|
Syntax | |
|
|
Description | |
Attempts a connection to the specified <server>
on the specified <port>. If no <port> is specified
the default 6667 is used. If no <server> is specified,
the currently selected server from the server list is used.
If there is an active connection in the current irc context,
this command causes it to be "brutally" terminated.
If the -i switch is specified, the connection is attempted
by using the IPV6 protocol (if supported by the
KVIrc executable). If the <server> is a valid IPV6 address, the -i switch is implied. If the -n switch is specified , the connection is attempted in a new irc context instead of the current one. If the -u switch is specified , the connection is attempted in the first irc context that has no connection in progress. If all the irc contexts have a connection in progress, this option is equivalent to -n. -n takes precedence over -u. If the -c switch is used, <command_sequence> is executed just after the login operations have been completed. The <server> is added to the server list (if not already there) and set as current. If the -b swich is specified , the outgoing connection is bound to the specified <local address>. The <local address> must be the IP address of a local interface suitable for contacting the remote <server>: this means that if you're going to use the -i switch, the <local address> must be an IPV6 address. On most systems it is also possible to use a local interface name as <local address>; in this way the interface address can be resolved at runtime by the KVIrc network engine. The -s switch causes the connection to be attempted thru the Secure Sockets Layer. |
|
Examples | |
|
|
See also | |
class, connect, objects documentation |