Sends data only to a specific client, identified by its IP and port. Returns the number of bytes sent to the remote site as UDINT.
For additional information about the send methods, refer to section Send Method.
Input |
Data type |
Valid range |
Description |
---|---|---|---|
i_sClientIP |
STRING(15) |
- |
IP address of the connected client the data is to be sent to. |
i_uiClientPort |
UINT |
1 ... 65535 |
Source port of the connected client the data is to be sent to. |
i_pbySendBuffer |
POINTER TO BYTE |
- |
Start address of the buffer that holds the data to be sent. |
In_Out |
Data type |
Valid range |
Description |
---|---|---|---|
iq_udiFillLevel |
UDINT |
1 ... 2147483647 |
Indicates the fill level of the buffer. Before function call: Number of bytes to be sent starting from the start address of the buffer. After the function call: Number of bytes in the buffer that could not be sent. |