49 bool connect(
const std::string &address, enet_uint16 port);
bool isConnected()
Returns whether the server is connected.
void send(const ManaServ::MessageOut &msg)
Sends a message.
bool connect(const std::string &address, enet_uint16 port)
Connects to the given server with the specified address and port.
void disconnect()
Disconnects from the given server.
Used for building an outgoing message to manaserv.
Connection * getConnection()
Returns a new Connection object.