mirror of
https://github.com/kierankihn/uno-game.git
synced 2025-12-27 02:13:18 +08:00
feat(network): add NetworkClient for TCP communication
- Introduced `NetworkClient` class for client-side TCP communication. - Implemented `connect`, `send`, and `read` methods for message handling. - Updated `CMakeLists.txt` to include `NetworkClient.cpp` in the build configuration.
This commit is contained in:
@@ -16,6 +16,7 @@ add_library(uno-game-lib
|
||||
src/network/Message.cpp
|
||||
src/network/MessageSerializer.cpp
|
||||
src/network/NetworkServer.cpp
|
||||
src/network/NetworkClient.cpp
|
||||
)
|
||||
target_link_libraries(uno-game-lib
|
||||
PRIVATE ftxui::screen
|
||||
|
||||
Reference in New Issue
Block a user