Send an object using the connection default SendReceiveOptions and wait for a returned object again
using default SendReceiveOptions.
Namespace: NetworkCommsDotNet.ConnectionsAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- sendingPacketTypeStr
- Type: System String
The sending packet type
- expectedReturnPacketTypeStr
- Type: System String
The packet type which will be used for the reply
- returnPacketTimeOutMilliSeconds
- Type: System Int32
A timeout in milliseconds after which if not reply is received will throw an ExpectedReturnTimeoutException.
- sendObject
- Type: sendObjectType
The object to send
- sentPacketSequenceNumber
- Type: System Int64
The sequence number of the packet sent
Type Parameters
- sendObjectType
- The sending object type, i.e. string, int[], etc
- returnObjectType
- The type of return object
Return Value
Type: returnObjectTypeThe requested return object
See Also