• Communication channel
  • Required permissions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Run on the server, this function accepts a request for connecting to an existing socket found on the server. This function is used to create the communication channel between the server socket and the client socket.
This allows you to create a different communication channel for each client computer. Each one of these communication channels can be handled in an independent thread.
  • If the client computer is using a WINDEV application to connect to this socket, this application will have to use SocketConnect.
  • SocketAccept can be used with the SSL sockets.
  • SocketAccept cannot be used with a UDP socket.
Reminder: A socket is a communication resource used by applications to communicate from one computer to another regardless of the type of network.
<Result> = SocketAccept(<Socket name>)
<Result>: Character string
  • Name of the communication channel to the client socket that requested the connection. This name will be used by all the other Socket functions to specify this communication channel.
  • Empty string ("") if an error occurred. To get more details on the error, use ErrorInfo.
<Socket name>: Character string
Name of the server socket that accepts the connection.

Communication channel

The communication channel opened by SocketAccept must be closed by SocketClose.
AndroidAndroid Widget

Required permissions

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.
Component: wd280com.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment