• Libraries
  • Shop
  • Doc
  • Free Modbus
  • Support
  • Login
FieldTalk Modbus Slave Library for .NET
FieldTalk Modbus Slave Library for .NET
Namespaces
FieldTalk.Modbus.Slave
MbusIpServerBase Class
MbusIpServerBase Methods
startupServer Method
startupServer Method
startupServer Method (String)
Click or drag to resizeClick or drag to resize

MbusIpServerBasestartupServer Method (String)

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
Syntax
C#
VB
C++
Copy
public int startupServer(
	string hostName
)
Public Function startupServer ( 
	hostName As String
) As Integer
public:
int startupServer(
	String^ hostName
)

Parameters

hostName
Type: SystemString
String with IP address for a specific host interface or empty string if connections are accepted on any interface

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.

The server accepts connections only on the interfaces which match the supplied hostname or IP address parameter. This method allows to run different servers on multiple interfaces (so called multihomed servers).

See Also

Reference

MbusIpServerBase Class
startupServer Overload
FieldTalk.Modbus.Slave Namespace
FieldTalk Modbus Slave Library for .NET
Library version 2.11.0
Speak to the Experts
Modbus Organization Member logo

We are member of the Modbus Organization, Inc.

Buy with Confidence
30-day money back guarantee All our FieldTalk web sales are backed by a 30-day Money Back Guarantee.
We Accept
Bank VISA MasterCard PayPal
Customer Info
  • Info & Contact
  • Customer Login
  • Terms of Service
  • Terms of Sale
  • Privacy Policy
© 2005-2025 proconX Pty Ltd. All rights reserved. proconX and FieldTalk are trademarks of proconX Pty Ltd.
All other trademarks and registered trademarks appearing on www.modbusdriver.com are the property of their respective owners.