Skip to content

Automatic re-connect interval if disconnected? #171

@satoshinm

Description

@satoshinm

The server connection can be lost for various reasons, such as if you are on a mobile device and lose connectivity. Reconnecting requires typing /online servername (if you have a keyboard) or reloading the page (losing state). What about automatically trying to reconnect to the server at some repeating interval, if the connection is lost? src/main.c:

void client_closed(int fd, void *userData) {
    add_message("Client closed the connection");
    client_disable();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions