TcpStatusConnection(String, Int32) Constructor
|
Initializes a new status only instance of the TcpStatusConnection class.
Namespace: Zebra.Sdk.CommAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax public TcpStatusConnection(
string address,
int port
)
Public Sub New (
address As String,
port As Integer
)
public:
TcpStatusConnection(
String^ address,
int port
)
Parameters
- address String
- The IP Address or DNS Hostname.
- port Int32
- The 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:
TcpStatusConnection(String, Int32, Int32, Int32)See Also