AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Comunicación / Sockets
  • Permisos necesarios
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Closes a socket or a connection to a server socket.
Warning The connection must be closed for the server socket to become aware of a message in blocking read mode.
Reminder A socket is a communication resource used by applications to communicate from one machine to another, regardless of the type of network.
Ejemplo
IF SocketCreate("Server", 8000) = False THEN
Error("Creation error" + ErrorInfo(errMessage))
ELSE
...
SocketClose("Server")
END
Sintaxis
SocketClose(<Socket name>)
<Socket name>: Character string
Name of the 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.
Observaciones
AndroidWidget Android

Permisos necesarios

Esta función cambia los permisos requeridos por la aplicación.
Permiso requerido: INTERNET
Este permiso permite a las aplicaciones abrir los sockets de red.
Componente: wd300com.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 02/04/2025

Señalar un error o enviar una sugerencia | Ayuda local