Click or drag to resize

TcpStatusConnection Constructor (String, Int32, Int32, Int32)

Initializes a new status only instance of the TcpStatusConnection class.

Namespace:  Zebra.Sdk.Comm
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.13.898
Syntax
public TcpStatusConnection(
	string address,
	int port,
	int maxTimeoutForRead,
	int timeToWaitForMoreData
)

Parameters

address
Type: SystemString
The IP Address or DNS Hostname.
port
Type: SystemInt32
The port number.
maxTimeoutForRead
Type: SystemInt32
The maximum time, in milliseconds, to wait for any data to be received.
timeToWaitForMoreData
Type: SystemInt32
The maximum time, in milliseconds, to wait in-between reads after the initial read.
Remarks
This constructor will use the specified timeouts for Read. 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.
See Also