From: Stephen Seo Date: Mon, 4 Mar 2019 10:17:55 +0000 (+0900) Subject: Fix new connections not being created X-Git-Tag: 1.0~228 X-Git-Url: https://git.seodisparate.com/tbm-server-edit-hover.png?a=commitdiff_plain;h=d35f0815859d67018180649f90867fb1ac27aed3;p=UDPConnection Fix new connections not being created --- diff --git a/src/UDPConnection.c b/src/UDPConnection.c index 653c238..26d2e88 100644 --- a/src/UDPConnection.c +++ b/src/UDPConnection.c @@ -10,7 +10,7 @@ UDPC_Context* UDPC_init(uint16_t listenPort, int isClient) { UDPC_Context *context = malloc(sizeof(UDPC_Context)); context->error = UDPC_SUCCESS; - context->flags = 0xC; + context->flags = 0x4C; if(isClient != 0) context->flags |= 0x2; context->threadFlags = 0; context->conMap = UDPC_HashMap_init(13, sizeof(UDPC_INTERNAL_ConnectionData));