Skip to content

Commit 454c061

Browse files
use single thread to handle multiple connections
1 parent 2cd37a8 commit 454c061

File tree

8 files changed

+302
-463
lines changed

8 files changed

+302
-463
lines changed

src/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33

44
target_sources(${Target} PRIVATE main.cpp)
55
target_sources(${Target} PRIVATE modbus_shm.cpp)
6-
target_sources(${Target} PRIVATE Modbus_TCP_Client.cpp)
6+
target_sources(${Target} PRIVATE Modbus_TCP_Client_poll.cpp)
77
target_sources(${Target} PRIVATE license.cpp)
8-
target_sources(${Target} PRIVATE Modbus_TCP_connection.cpp)
8+
target_sources(${Target} PRIVATE sa_to_str.cpp)
99

1010

1111
# ---------------------------------------- header files (*.jpp, *.h, ...) ----------------------------------------------
1212
# ======================================================================================================================
1313
target_sources(${Target} PRIVATE modbus_shm.hpp)
14-
target_sources(${Target} PRIVATE Modbus_TCP_Client.hpp)
14+
target_sources(${Target} PRIVATE Modbus_TCP_Client_poll.hpp)
1515
target_sources(${Target} PRIVATE license.hpp)
16-
target_sources(${Target} PRIVATE Modbus_TCP_connection.hpp)
16+
target_sources(${Target} PRIVATE sa_to_str.hpp)
1717

1818

1919

0 commit comments

Comments
 (0)