FieldTalk™ Modbus Master .NET Library

MbusTcpMasterProtocol.getPort Method 

Returns the TCP port number used by the protocol.

[Visual Basic]
Public Function getPort() As Short
[C#]
public short getPort();

Return Value

Currently set port number

See Also

MbusTcpMasterProtocol Class | FieldTalk Namespace