new arg => value,...

Format a message and send it to the server.

handshake $fh

Do the initial handshaking with the server on the given socket and make it the current one. This will initialize the communications stack and set the socket to be used to sending messages.

login $clientversion, $name, $pass[, $locale]

Login to the server. $clientversion should be a descriptive string that uniquely identifies the client and the client version.


Close the socket, generate a quit message and unregisters listeners.

feed_data $data

Feed new data from the server into this object. This might or might not result in messages being dispatched.


Create and return a new channel id, used e.g. for game creation. We start at one, but cgoban2 seems to start at zero.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 26:

'=item' outside of any '=over'

=over without closing =back