MbusIpServerBasestartupServer Method |
Puts the Modbus server into operation.
Namespace:
FieldTalk.Modbus.Slave
Assembly:
FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Syntaxpublic int startupServer()
Public Function startupServer As Integer
public:
int startupServer()
Return Value
Type:
Int32 BusProtocolErrors.FTALK_SUCCESS on success or error code.
See
BusProtocolErrors for possible error codes.
Remarks
This function opens a TCP/IP socket, binds the configured TCP port
to the Modbus/TCP protocol and initialises the server engine.
If the hostName property is set, the server accepts
connections only on the interfaces which match it.
This allows to run different servers on multiple interfaces
(so called multihomed servers).
See Also