Port.Send (METH)
METHOD Send : SysTypes.RTS_IEC_RESULT
Sends data to sIPAddressTo and uiPortTo
- InOut:
Scope
Name
Type
Comment
Return
SendSysTypes.RTS_IEC_RESULTInput
udiIPToUDINTAddr of the receiver
uiPortToUINTOPTIONAL: Port to send the data to (Property SendPort is the default)
pbyDataPOINTER TO BYTE
Pointer to user data
diDataSize__XINTSize of the user data
Output
diSent__XINTNumber of Bytes that have been sent
eLogCodeErrorCode