| FieldTalk™ Modbus Master .NET Library |
|
MbusRtuOverTcpMasterProtocol Constructor (String, Int16)
Creates new instance and configures the host to connect to
[Visual Basic]
Overloads Public Sub New( _
ByVal
hostName As
String, _
ByVal
portNumber As
Short _
)
[C#]
public MbusRtuOverTcpMasterProtocol(
string hostName,
short portNumber);
Parameters
-
hostName
- String with IP address or host name (eg "127.0.0.1")
-
portNumber
-
Exceptions
See Also
MbusRtuOverTcpMasterProtocol Class | FieldTalk Namespace | MbusRtuOverTcpMasterProtocol Constructor Overload List