Closes a socket or a connection to a server socket.
Caution: The connection must be closed in order for the server socket to become aware of a message in locking read mode.
Reminder: A socket is a communication resource used by applications to communicate from one computer to another regardless of the type of network.
IF SocketCreate("Server", 8000) = False THEN
Error("Creation error" + ErrorInfo(errMessage))
<Socket name>: Character string
Name of socket that received the message.
In the WINDEV applications, this name was defined on the server:
The call to this function modifies the permissions required by the application.
Required permission : INTERNET
This permission allows the applications to open the network sockets.