Send the provided object to the specified destination and wait for a return object using TCP. Uses default sendReceiveOptions.
For more control over options see connection specific methods.
Namespace: NetworkCommsDotNetAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- sendingPacketTypeStr
- Type: System String
Packet type to use during send
- destinationIPAddress
- Type: System String
The destination IP address
- destinationPort
- Type: System Int32
The destination listen port
- expectedReturnPacketTypeStr
- Type: System String
Expected packet type used for return object
- returnPacketTimeOutMilliSeconds
- Type: System Int32
Time to wait in milliseconds for return object
- sendObject
- Type: sendObjectType
Object to send
Type Parameters
- sendObjectType
- The sending object type, i.e. string, int[], etc
- returnObjectType
- The expected return object type, i.e. string, int[], etc
Return Value
Type: returnObjectTypeThe expected return object
See Also