AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Sockets
  • IRDA protocol
  • Windows limit
  • Connection to a given socket
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
SocketConnectInfrared (Function)
In french: SocketConnecteInfraRouge
Connects a client computer to a given socket via the infrared port.
Reminder: A socket is a communication resource used by applications to communicate from one computer to another regardless of the type of network.
Example
IF SocketConnectInfrared("customer", "service") = False THEN
Error("Connection error" + ErrorInfo(errMessage))
END
Syntax
<Result> = SocketConnectInfrared(<Socket name> , <Service name>)
<Result>: Boolean
  • True if the function was successful,
  • False otherwise. If an error occurs, you can get more details on the error with ErrorInfo.
<Socket name>: Character string
Name that will be given to the connection opened on the server socket. This name will be used by all socket functions.
<Service name>: Character string
Name of the service specified in SocketCreateInfrared.
Remarks

IRDA protocol

SocketConnectInfrared uses the IRDA (Infrared Data Association) protocol. Therefore, a WINDEV application can be connected to any device that uses this protocol (providing that you know the name of the service used).

Windows limit

The maximum number of infrared sockets used simultaneously cannot exceed 80.

Connection to a given socket

To connect a client computer to a given socket, use SocketConnect.
Component: wd290com.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/06/2023

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