If you are trying to login in case the server you have created is not open, you are experiencing a freezing problem. In this article i will show codes for solving crash.

Server is not open and you are trying to connect!

It will be crash dude!

 

 

SOLVE

Solve is very simple. You will add timeout before connect. After you will say if there arent server back to the menu.

You must write this code before connecting to server.

network_set_config(network_config_use_non_blocking_socket, 0)

Solved 🙂