Commit Graph

5 Commits

Author SHA1 Message Date
Ayndpa
dc44cf4df1 重构MultiplexManager,使用字符串ID替代uint32_t,优化TCPClient和TCPServer的客户端管理 2025-11-19 18:19:14 +08:00
Ayndpa
f661b1d369 重构Steam网络管理,整合房间管理功能,添加多路复用支持,优化TCP服务器和消息处理 2025-11-19 16:49:36 +08:00
Ayndpa
af181bb133 Refactor Steam Networking Components
- Removed SteamMessageHandler class and its implementation files.
- Integrated control packet handling directly into the SteamMessageHandler.
- Updated TCPClient and TCPServer classes to improve connection management and error handling.
- Added SteamNetworkingManager class to manage Steam networking, including lobby creation and connection handling.
- Implemented callbacks for Steam Friends and Matchmaking to handle lobby events.
- Enhanced message forwarding logic between TCP clients and Steam connections.
- Introduced control packet handling for ping responses.
- Improved thread safety with mutexes for shared resources.
2025-11-18 21:03:01 +08:00
Ayndpa
b308a644ff 重构代码,删除不必要的文件,添加控制数据包处理和Steam消息处理功能 2025-11-18 19:05:50 +08:00
Ayndpa
0f76252c16 Add initial implementation of ConnectTool with Dear ImGui and Steam Networking
- Created project files for ConnectTool including filters and user settings.
- Added README.md with setup instructions and prerequisites for building the project.
- Implemented imgui_hello.cpp as a simple Dear ImGui application using GLFW and OpenGL.
- Developed online_game_tool.cpp for hosting and joining game rooms using Steam Networking.
- Created p2p_chat.cpp for a peer-to-peer chat application utilizing Steam Networking.
- Implemented steam_friends.cpp to display the user's Steam friends list.
- Added TCP client and server classes for handling network communication.
- Integrated TCP server and client functionality into online_game_tool for real-time data exchange.
2025-11-17 20:41:03 +08:00