MultichannelTcpConnection(String, Int32, Int32) Constructor
|
Initializes a new instance of the MultichannelTcpConnection class.
Namespace: Zebra.Sdk.CommAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax public MultichannelTcpConnection(
string ipAddress,
int printingPort,
int statusPort
)
Public Sub New (
ipAddress As String,
printingPort As Integer,
statusPort As Integer
)
public:
MultichannelTcpConnection(
String^ ipAddress,
int printingPort,
int statusPort
)
Parameters
- ipAddress String
- The IP Address or DNS Hostname.
- printingPort Int32
- The printing port number.
- statusPort Int32
- The status port number.
Remarks
This constructor will use the default timeouts for
Read . The default timeout is a maximum of 5 seconds for any
data to be received.If no more data is available after 500 milliseconds the read operation is assumed to be complete.
To specify timeouts other than the defaults, use:
MultichannelTcpConnection(String, Int32, Int32, Int32, Int32) or
MultichannelTcpConnection(String, Int32, Int32, Int32, Int32, Int32, Int32)See Also