Squirrel/Server/Functions/Sockets/Stop

From Liberty Unleashed Wiki
Revision as of 03:46, 8 March 2010 by Force (Talk | contribs)

Jump to: navigation, search

This function stops the given socket.

Syntax

  1. bool Socket.Stop()

Arguments

  • none

Example

  1.  
  2. function onScriptLoad( )
  3. {
  4. p_Socket.Stop( );
  5. }
  6.  

On script unload this will stop a socket from listening.

Notes

The call onScriptUnload was used in in this example. More info about this in the corresponding page.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox