Click or drag to resize

MultichannelTcpConnection(String, Int32, Int32, Int32, Int32) Constructor

Initializes a new instance of the MultichannelTcpConnection class.

Namespace: Zebra.Sdk.Comm
Assembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax
public MultichannelTcpConnection(
	string ipAddress,
	int printingPort,
	int statusPort,
	int maxTimeoutForRead,
	int timeToWaitForMoreData
)

Parameters

ipAddress  String
The IP Address or DNS Hostname.
printingPort  Int32
The printing port number.
statusPort  Int32
The status port number.
maxTimeoutForRead  Int32
The maximum time, in milliseconds, to wait for any data to be received.
timeToWaitForMoreData  Int32
The maximum time, in milliseconds, to wait in-between reads after the initial read.
Remarks
This constructor will use the specified timeouts for Read for both channels. The timeout is a maximum of maxTimeoutForRead milliseconds for any data to be received.If no more data is available after timeToWaitForMoreData milliseconds the read operation is assumed to be complete. If you wish to specify different timeouts for each channel, use MultichannelTcpConnection(String, Int32, Int32, Int32, Int32, Int32, Int32)
See Also