Web Socket Client SL Library Documentation¶
- Company:
CODESYS
- Title:
Web Socket Client SL
- Version:
1.12.0.0
- Categories:
Application|Utils
- Namespace:
WEB_SOCKET
- Author:
CODESYS Development GmbH
- Placeholder:
Web_Socket_Client_SL
Description [1]¶
The WebSocket protocol enables two-way communication between a client and a remote host over the internet. The WebSocket protocol enables interaction between a web client and a web server with lower overhead than half-duplex alternatives such as HTTP polling. The communication is usually done over TCP port number 443 (or 80 in the case of unsecured connections).
The function block WebSocketClient is used to connect a client to a server and for reading and writing messages via the methods Read and Write. The function blocks WebSocketRead and WebSocketWrite can be used for reading and writing messages using the Common Behavior Model (e.g. for CFC applications).