Back to FabImage Library website
You are here: Start » Function Reference » System » Modbus TCP » ModbusTCP_Close
Header: | STD.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Closes a connected Modbus socket gracefully.
Syntax
void fil::ModbusTCP_Close
(
fil::SocketId inSocket
)
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inSocket | SocketId | Connected socket Id. |
Hints
- Connect inSocket with the output of ModbusTCP_Connect.
See Also
- ModbusTCP_Connect – Connects as a client to a remote Modbus server socket.