Error getting tags :
error 404Error getting tags :
error 404 resetAll | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
resetAll
Basics
Expander triangle
Type
Command
Syntax
resetAll
Introduced
1.1
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Network
Summary
Closes all open sockets and halts all pending Internet operations.
Examples

if the openSockets is not empty then resetAll

Additional Comments
Expander triangle

Use the resetAll command to troubleshoot Internet connection problems.

Comments:

The resetAll command closes all open sockets, including any sockets that have been opened by the Internet library; clears all variables used by the Internet library; and clears all cached data.

Since the Internet library's routines for handling http and ftp uploads and downloads are socket-based, the resetAll command resets all these operations.

Caution! The resetAllcommand closes all open sockets, which includes any other sockets opened by your application and any sockets in use for other uploads and downloads. Because of this, you should avoid routine use of the resetAllcommand. Consider using it only during development, to clear up connection problems during debugging.

Important! The resetAllcommand is part of the Internet library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions section of the Standalone Application Settings window, make sure "Internet Library" is selected in the list of script libraries.

Note: When included in a standalone application, the Internet library is implemented as a hidden group and made available when the group receives its first openBackground message. During the first part of the application's startup process, before this message is sent, the resetAllcommand is not yet available. This may affect attempts to use this command in startup, preOpenStack, openStack, or preOpenCardhandlers in the main stack. Once the application has finished starting up, the library is available and the resetAllcommand can be used in any handler.

User Comments
Expander triangle