Back to Aurora Vision Library Lite website
You are here: Start » System » Modbus TCP » ModbusTCP_Close
ModbusTCP_Close
| Header: | STD.h |
|---|---|
| Namespace: | avl |
Closes a connected Modbus socket gracefully.
Syntax
C++
Python
void avl::ModbusTCP_Close
(
avl::SocketId inSocket
)
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inSocket | SocketId | Connected socket Id. |
Hints
- Connect inSocket with the output of ModbusTCP_Connect.
Remarks
Warning:All tools applied to a specific device or file should be managed within a single thread to ensure centralized tracking, traceability, and consistency throughout the process.
See Also
- ModbusTCP_Connect – Connects as a client to a remote Modbus server socket.

