|
|
|
|
|
- IRDA protocol
- Windows limit
- Connection to a given socket
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. 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 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). 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|