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

@@ -231,6 +231,7 @@ void xe_socket_loop_destroy(xe_socket_loop_t* loop) {
int xe_socket_loop_poll(xe_socket_loop_t* loop,
bool check_read, bool check_write) {
// Prep events object.
loop->events[0].events = 0;
if (check_read) {
loop->events[0].events |= POLLIN;
}