Send data to the specified address.
Namespace: org.opendof.core.transport
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
int send( DOFAddress target, byte[] data, int offset, int length )
Parameters
- target
- Type: org.opendof.core.oalDOFAddress
The target address. - data
- Type: SystemByte
The data to send. Ownership of the data does not transfer to the transport. - offset
- Type: SystemInt32
The offset in packet where the data begins. - length
- Type: SystemInt32
The length of the data.
Return Value
Type: Int32The number of bytes that were sent.
Exceptions
Exception | Condition |
---|---|
Exception | If there are errors this exception may be thrown. This may cause some logging to occur, but otherwise is ignored. |
Remarks
See Also