Squirrel/Server/Functions/Sockets/Delete
From Liberty Unleashed Wiki
This function deletes the given socket.
Syntax
bool Socket.Delete()
Arguments
- none
Example
function onScriptUnload( ) { p_Socket.Delete(); }
This will delete the socket associated with p_Socket, this was created in the onScriptLoad event.
Notes
The call onScriptUnload was used in in this example. More info about this in the corresponding page.