Remove a socket (client or server).


GML Code Example


Argument Description
socket The id of the socket to remove.

Returns: N/A


With this function you can remove a network socket connection from your game.


GML Code Example

if !os_is_network_connected()

The above code will check to see if there is a data connection and if none is found, destroy the socket with the id "sock".

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here