TCPConnection SendStreams Method NetworkComms.Net Help
Connection specific implementation for sending data on this connection type. Each StreamSendWrapper[] represents a single expected packet.

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

protected override double[] SendStreams(
	StreamTools..::..StreamSendWrapper[] streamsToSend,
	double maxSendTimePerKB,
	long totalBytesToSend
)

Parameters

streamsToSend
Type:  NetworkCommsDotNet.Tools StreamTools StreamSendWrapper 
The streams which need to be sent
maxSendTimePerKB
Type: OnlineSystem Double
The maximum time to allow per KB before a write timeout exception.
totalBytesToSend
Type: OnlineSystem Int64
A precalculated sum of streams.Length

Return Value

Type:  OnlineDouble 
Should return double[] which represents the milliseconds per byte written for each StreamSendWrapper
See Also