Connects to this.host:this.port (irc.ppy.sh:6667) and authenticates with username & password. Blocks and processes all messages sent by the TCP socket. Recommended to be called in runTask.
Cleans up on exit properly and is safe to be called again once returned.
classBanchoBot
nothrow
bool
connect
()
Return Value
Type: bool
false immediately if credentials are invalid or true after successful connection is closed.
Connects to this.host:this.port (irc.ppy.sh:6667) and authenticates with username & password. Blocks and processes all messages sent by the TCP socket. Recommended to be called in runTask. Cleans up on exit properly and is safe to be called again once returned.