ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Sockets
  • Required permissions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Run on the server, this function refuses a request for connection to an existing socket found on the server.
Remark:
  • If the client computer uses a WINDEV application to connect to this socket, this application will have to use SocketConnect.
  • SocketDeny cannot be used with a UDP socket.
  • SocketDeny can be used with an SSL socket.
Reminder: A socket is a communication resource used by applications to communicate from one computer to another regardless of the type of network.
Syntax
<Result> = SocketDeny(<Socket name>)
<Result>: Boolean
  • True if the connection was denied,
  • False if an error occurred. To get more details on the error, use ErrorInfo.
<Socket name>: Character string
Name of the server socket that refuses the connection. This name is defined:
WINDEV Caution: The socket name is case sensitive.
Remarks
AndroidAndroid Widget

Required permissions

This function changes the permissions required by the application.
Permission required: INTERNET
This permission allows the applications to open the network sockets.
Component: wd300com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/08/2024

Send a report | Local help