Switch to InetSockAddress instead of InetAddress so we can send the port # to java as well

This commit is contained in:
Grant Limberg 2015-04-27 17:48:37 -07:00
commit d1ed269537
10 changed files with 98 additions and 26 deletions

View file

@ -30,6 +30,7 @@ jobject createVirtualNetworkConfigOperation(JNIEnv *env, ZT1_VirtualNetworkConfi
jobject newArrayList(JNIEnv *env);
bool appendItemToArrayList(JNIEnv *env, jobject array, jobject object);
jobject newInetSocketAddress(JNIEnv *env, const sockaddr_storage &addr);
jobject newInetAddress(JNIEnv *env, const sockaddr_storage &addr);
jobject newMulticastGroup(JNIEnv *env, const ZT1_MulticastGroup &mc);