|
|
|
|
|
- Recreating a socket
- Creating a socket
- IRDA protocol
- Windows limit
SocketCreateInfrared (Function) In french: SocketCréeInfraRouge Creates a socket that uses the infrared port. A socket is a communication resource used by applications to communicate from one computer to another regardless of the type of network. Remark: This function must be called on the server station used for the communication.. If the client computer uses a WINDEV application to connect to this socket, this application will have to use SocketConnectInfrared. IF SocketCreateInfrared("Serveur", "Service") = False THEN
Error("Erreur création " + ErrorInfo(errMessage))
END
Syntax
<Result> = SocketCreateInfrared(<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 socket. This name will be used by all socket functions. <Service name>: Character string Name that will be given to the service. This name will be used in SocketConnectInfrared. Remarks If a socket is not closed properly by SocketClose (restarting the computer for example), recreating the socket may take quite a long time. Indeed, you will have to wait until the socket is freed by the system. SocketCreateInfrared uses the IRDA (Infrared Data Association) protocol. The maximum number of infrared sockets used simultaneously cannot exceed 80.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|