Debugger now listens for connections and will only allow one at a time.

This commit is contained in:
Ben Vanik
2013-12-19 10:08:25 -08:00
parent 597e196940
commit 1461792289
10 changed files with 103 additions and 26 deletions

View File

@@ -33,10 +33,18 @@ public:
virtual int Setup();
virtual int WaitForClient();
private:
static void StartCallback(void* param);
void AcceptThread();
protected:
uint32_t port_;
socket_t socket_id_;
xe_thread_ref thread_;
bool running_;
HANDLE accepted_event_;
};