void make_connection(QIODevice *sock, const QString &username)
Called after a connection is completed (e.g., in try_to_connect).
void input_from_server(QIODevice *sock)
This function is called when the client received a new input from the server.
double try_to_autoconnect(const QUrl &url)
Make an attempt to autoconnect to the server.
void start_autoconnecting_to_server(const QUrl &url)
Start trying to autoconnect to freeciv21-server.
int connect_to_server(const QUrl &url, char *errbuf, int errbufsize)
Connect to a freeciv21-server instance – or at least try to.
void disconnect_from_server()
Get rid of server connection.