1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-10-09 09:20:08 +00:00

Added Tunnel & Tunnel Connection boilerplate to lib

This commit is contained in:
2022-03-28 15:49:50 -05:00
parent 42199fc7c9
commit a4dc723e15
7 changed files with 239 additions and 9 deletions

View File

@@ -188,7 +188,7 @@ struct sLaika_cnc *laikaC_newCNC(uint16_t port) {
cnc->authPeersCount = 0;
/* init socket & pollList */
laikaS_initSocket(&cnc->sock, NULL, NULL, NULL, NULL);
laikaS_initSocket(&cnc->sock, NULL, NULL, NULL, NULL); /* we just need it for the raw socket fd and abstracted API :) */
laikaP_initPList(&cnc->pList);
/* bind sock to port */