TcpConnection Constructor (String, Int32)
|
Initializes a new instance of the TcpConnection class.
Namespace:
Zebra.Sdk.Comm
Assembly:
SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1869
Syntax public TcpConnection(
string address,
int port
)
Public Sub New (
address As String,
port As Integer
)
public:
TcpConnection(
String^ address,
int port
)
Parameters
- address
- Type: SystemString
the IP Address or DNS Hostname. - port
- Type: SystemInt32
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:
TcpConnection(String, Int32, Int32, Int32).
See Also