mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-19 21:03:57 -07:00
Switch to InetSockAddress instead of InetAddress so we can send the port # to java as well
This commit is contained in:
parent
73d68c0c98
commit
d1ed269537
10 changed files with 98 additions and 26 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue