Socket.Stop

From Liberty Unleashed Wiki
Revision as of 10:23, 11 October 2010 by VRocker (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

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