We want your Unity apps to talk *directly* over a flat, secure, no-config virtual network without sending everything into the "cloud". Thus, we introduce the ZeroTier-Unity3D integration!
Our implementation currently intends to be the bare minimum required to get your Unity application to talk over ZeroTier virtual networks. As a result, we've created an API that is very similar to the classic BSD-style sockets API. With this basic API it is possible to construct more abstracted network layers much like Unity's LLAPI and HLAPI.
***
## API
-`Join(nwid)`: Joins a ZeroTier virtual network
-`Leave(nwid)`: Leaves a ZeroTier virtual network
-`Socket(family, type, protocol)`: Creates a ZeroTier-administered socket
-`Bind(fd, addr, port)`: Binds to that socket on the address and port given
-`Listen(fd, backlog)`: Puts a socket into a listening state
-`Accept(fd)`: Accepts an incoming connection
-`Connect(fd, addr, port)`: Connects to an endpoint associated with the given `fd`
-`Write(fd, buf, len)`: Sends data to the endpoint associated with the given `fd`
-`Read(fd, buf, len)`: Receives data from an endpoint associated with the given `fd`
-`CLose(fd)`: Closes a connection with an endpoint