WebSocketClient.Write (METH)ΒΆ
METHOD Write : NBS.ERROR
Sends messages to a WebSocket server.
This method sends the payload pData with the size udiSize to the server.
- InOut:
Scope
Name
Type
Initial
Comment
Return
WriteNBS.ERRORInput
pData__XWORDPointer to the payload data
udiSizeUDINTSize of the payload
eFrameTypeFRAME_TYPE.BINARY
Type of the payload data
Output
udiCountUDINTNumber of sent bytes.
Bemerkung
It can take more than one cycles to send a message if the payload is greater than the maximum buffer size.