Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
best way to do this is use UDP. Its fire and forget and you wont have any hang times. Alternatively you can use network_set_timeout(socket, read_timeout, write_timeout); to make a smaller window of connection, but you must have a pretty clean connection for it to be accurate after less than 1000ms or so.
Use network_set_config(config_value, setting); to set the timeout value, and set whether the network_connect function should be blocking or not (Blocking = The game "freezes" while trying to connect, Non-blocking: the game continues as normal when trying to connect.) with the config values network_config_connect_timeout and network_config_use_non_blocking_socket.
network_connect trigger an async-event of type network_type_connect.
Use network_set_config(config_value, setting); to set the timeout value, and set whether the network_connect function should be blocking or not (Blocking = The game "freezes" while trying to connect, Non-blocking: the game continues as normal when trying to connect.) with the config values network_config_connect_timeout and network_config_use_non_blocking_socket.
network_connect trigger an async-event of type network_type_connect.