Méthode | Description | |
---|---|---|
BeginConnect ( string addr, int port ) : void | ||
OnDisconnecting ( Connection con, bool conLost ) : void | ||
Send ( string text ) : void |
If connected, enqueues the given text to the SendQueue.
|
|
SendNow ( string text ) : void |
If connected, splits the text by line terminators, triggers the IrcClient.OnBeforeSend method and sends each line + "\r\n" immediately to the server. Throws an exception if one of the lines exceed the IRC-conform max of 512 bytes (510 + "\r\n").
|
Méthode | Description | |
---|---|---|
Client ( |
||
OnConnect ( Connection con ) : void | ||
OnConnectFail ( Connection con, |
||
OnConnecting ( Connection con ) : void | ||
SendLineNow ( string line ) : void |
public BeginConnect ( string addr, int port ) : void | ||
addr | string | |
port | int | |
Résultat | void |
public OnDisconnecting ( Connection con, bool conLost ) : void | ||
con | Connection | |
conLost | bool | |
Résultat | void |
public SendNow ( string text ) : void | ||
text | string | A string that will be immediately sent. |
Résultat | void |