Method | 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").
|
Method | 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 | |
return | void |
public OnDisconnecting ( Connection con, bool conLost ) : void | ||
con | Connection | |
conLost | bool | |
return | void |
public SendNow ( string text ) : void | ||
text | string | A string that will be immediately sent. |
return | void |