# disconnectServer()

Closes the socket connection to the script server. The server remains running.

### Syntax

o_disconnectServer()
  no inputs
  return: Text - "OK" means that the server has received this directive. Any other result is an error.

### Usage

When the server is no longer needed it can be useful to disconnect from it.

### Location

menu: veeos ==> Scripting ==> Advanced ==> Disconnect Server

library: scriptLib

### Example

### Notes

This object never actually needs to be run, but may be useful.

### Reference

### Dependencies

### Supported On

VEE 7.0+, Windows 7+

### See Also

checkStatus, disconnectServer, executeScript, getResult, sendData, sendScript, setShutdownTimeout

© 2015-2021. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 09 August 2021 18:20.