Error getting tags :
error 404Error getting tags :
error 404 close socket | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
close socket
Basics
Expander triangle
Type
Command
Syntax
close socket socketID
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Network
Summary
Shuts down a connection that was opened with the open socket or accept command.
Examples

close socket "127.0.0.0"
close socket "www.example.net:8080|newConnection"
close socket (line 1 of the openSockets)

Additional Comments
Expander triangle

Use the close socket command to release the connection when you're finished getting and sending data over it.

Parameters:

The socketID is the identifier (set when you opened the socket) of the socket you want to close.

The socket identifier starts with the IP address of the host the socket is connected to, and may optionally include a port number (separated from the IP address by a colon). If there is more than one socket connected to that host and port, you can specify which socket by appending the connection name or number that was assigned when the socket was opened, separated from the port number by a vertical bar (|).

User Comments
Expander triangle