This commit is contained in:
Adam Ierymenko 2019-09-21 00:19:20 -07:00
parent fbf74d3baa
commit 6ce4663a31
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
6 changed files with 176 additions and 43 deletions

View file

@ -391,6 +391,11 @@ extern "C" void ZT_GoNode_delete(ZT_GoNode *gn)
delete gn;
}
extern "C" ZT_Node *ZT_GoNode_getNode(ZT_GoNode *gn)
{
return gn->node;
}
// Sets flags and socket options common to both IPv4 and IPv6 UDP sockets
static void setCommonUdpSocketSettings(ZT_SOCKET udpSock,const char *dev)
{