79 Commits (b87c46a273c1bde5ef76bbdabc9069c0991005fe)

Author SHA1 Message Date
Adam Honse 0464fbcbe2 Make default SDK port a defined constant 6 years ago
Térence Clastres 6d585d3eeb Network: Print used port on startup and change default to 6742
Also print an error if server can't be started

1337 is already used by razer's rest server
Port idea by @bahorn (6742 = ORGB on a phone numpad)
6 years ago
Adam Honse e6aadc414b Handle socket errors on Windows, which does not return 0 when a socket is disconnected like Linux does 6 years ago
Matt Harper 69e1e19bf9 Bugfix - properly free ServerClients 6 years ago
Adam Honse 352b9928ca Add file headers to network files and some minor code cleanup 6 years ago
Adam Honse 6438c15dd3 Fix build on Windows 6 years ago
Adam Honse a5e9a3de05 Add mutex on updating callbacks 6 years ago
Adam Honse edf1b251c0 Send and receive client string 6 years ago
Adam Honse 9ff4314840 Add callback to NetworkServer to handle UI updates when client information changes 6 years ago
Adam Honse 3ad0986ae7 Add IP field to client information and display client IP in the server tab's connected client list 6 years ago
Adam Honse 6bfc9dd9db Create a structure to hold client information in the network server and fix i2c hanging on destructor when bus is not available. 6 years ago
Adam Honse 119741b736 Fix build on Windows 6 years ago
Adam Honse 2fe958783c Use select on accept call as well so that server closes on Linux 6 years ago
Adam Honse 9e44e4ba4f Add server information to user interface and provide buttons to start and stop server, change port 6 years ago
Adam Honse 81acc47cd6 Use std::thread for NetworkServer threads 6 years ago
Adam Honse 25f7a87a79 Get network server working in Windows 6 years ago
Adam Honse 4d6706ce61 Close server listener thread when read returns zero (client connection lost) 6 years ago
Adam Honse 39c5aff864 Send color data over the network when calling color update functions 6 years ago
Adam Honse 450f438538 Send mode data block when updating mode 6 years ago
Adam Honse 0270c745ce Implement RGBController_Network packet sending for current set of RGBController commands 6 years ago
Adam Honse 68fa3c2def Create functions for sending replies 6 years ago
Adam Honse 7c1a1396ca Client requests controller count and first controller data block from server, prints response 6 years ago
Adam Honse dff667751b Start work on network client 6 years ago
Adam Honse 2625807c1a Add RGBController function call packet functionality 6 years ago
Adam Honse 7af283fdbf Implement requests for number of controllers and controller information block 6 years ago
Adam Honse c7ffe3b926 Network server can now receive packets properly 6 years ago
Adam Honse 46339c5f86 More work on network support, need to implement spawning of one read thread for each client socket 6 years ago
Adam Honse cf69598fd1 Start working on server request processing code 6 years ago
Adam Honse 594f66ab23 Initial network files 6 years ago