Simplified java binding example

This commit is contained in:
Joseph Henry
2017-10-16 13:10:20 -07:00
parent 1a4ad49e06
commit 5de02d3259
13 changed files with 111 additions and 55 deletions

View File

@@ -0,0 +1,7 @@
package zerotier;
public class ZeroTier
{
public native int ztjni_socket(int family, int type, int protocol);
public int socket(int family, int type, int protocol) { return ztjni_socket(family, type, protocol); }
}