FieldTalk Modbus Master Library for .NET
FieldTalk Modbus Master Library for .NET
Namespaces
FieldTalk.Modbus.Master
MbusIpClientBase Class
MbusIpClientBase Methods
getPort Method
openProtocol Method
setClosingTimeout Method
setPort Method

# MbusIpClientBase getPort Method

Returns the TCP port number used by the protocol.

Namespace: FieldTalk.Modbus.Master
Assembly: FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntax
C#
VB
C++
Copy

    public short getPort()

    Public Function getPort As Short

    public:
    short getPort()

#### Return Value

Type: Int16
Currently set port number
See Also

#### Reference

MbusIpClientBase Class
FieldTalk.Modbus.Master Namespace
FieldTalk Modbus Master Library for .NET
Library version 2.15.2