mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-08 16:07:38 -04:00
Start work on network client
This commit is contained in:
@@ -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