Connection SendReceiveObject returnObjectType  Method (String, String, Int32)NetworkComms.Net Help
Send an empty packet using the connection default SendReceiveOptions and wait for a returned object again using default SendReceiveOptions. Useful to request an object when there is no need to send anything.

Namespace: NetworkCommsDotNet.Connections
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public returnObjectType SendReceiveObject<returnObjectType>(
	string sendingPacketTypeStr,
	string expectedReturnPacketTypeStr,
	int returnPacketTimeOutMilliSeconds
)

Parameters

sendingPacketTypeStr
Type: OnlineSystem String
The sending packet type
expectedReturnPacketTypeStr
Type: OnlineSystem String
The packet type which will be used for the reply
returnPacketTimeOutMilliSeconds
Type: OnlineSystem Int32
A timeout in milliseconds after which if not reply is received will throw an ExpectedReturnTimeoutException.
Type Parameters

returnObjectType
The type of return object

Return Value

Type: returnObjectType

[Missing <returns> documentation for "M:NetworkCommsDotNet.Connections.Connection.SendReceiveObject``1(System.String,System.String,System.Int32)"]

See Also