mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-15 06:38:59 -04:00
Start work on network client
This commit is contained in:
1 parent
2625807c1a
commit
dff667751b
3 files changed
+147
-73
No files matched your search
+6
-6
@@ -23,18 +23,18 @@
|
||||
#else
|
||||
#include <unistd.h>
|
||||
|
||||
typedef struct listen_thread_param_type
|
||||
{
|
||||
NetworkServer * this_ptr;
|
||||
SOCKET * sock_ptr;
|
||||
};
|
||||
|
||||
static void Sleep(unsigned int milliseconds)
|
||||
{
|
||||
usleep(1000 * milliseconds);
|
||||
}
|
||||
#endif
|
||||
|
||||
typedef struct listen_thread_param_type
|
||||
{
|
||||
NetworkServer * this_ptr;
|
||||
SOCKET * sock_ptr;
|
||||
};
|
||||
|
||||
THREAD connection_thread(void *param)
|
||||
{
|
||||
NetworkServer* server = static_cast<NetworkServer*>(param);
|
||||
|
||||
Reference in new issue
Block a user