PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
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 the applications to communicate between computers regardless of the network type.
Versions 22 and later
WEBDEV - Browser code This function is now available in browser code.
New in version 22
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Browser code This function is now available in browser code.
Example
IF SocketCreate("Server", 8000) = False THEN
Error("Creation error" + ErrorInfo(errMessage))
ELSE
...
SocketClose("Server")
END
Syntax
SocketClose(<Socket Name>)
<Socket Name>: Character string (with quotes)
Name of socket that received the message.
In the WINDEV applications, this name was defined on the server:
In the WINDEV applications, this name was defined on the client by SocketConnect, SocketConnectSSL or SocketConnectInfrared.
Remarks
Component : wd250com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment