MbusIpServerBasesetPort Method |
Namespace: FieldTalk.Modbus.Slave
public int setPort( int portNo )
Public Function setPort ( portNo As Integer ) As Integer
public: int setPort( int portNo )
Note |
---|
Usually the port number remains unchanged and defaults to 502. In this case no call to this function is necessary. However if the port number has to be different from 502 this function must be called before starting the server with startupServer(). |
Note |
---|
This parameter must be set before starting the server in order to come into effect. |