04041b

Results 16 comments of 04041b

solved, https://docs.zerotier.com/sockets not updated

> > > solved, https://docs.zerotier.com/sockets not updated > > > > > > How we're you able to fix it? > > I just tried the instructions in the example...

Try to extract file from the compile jar. It only work on linux and mac, windows will build fail and not include the file needed to run.

> > > solved, https://docs.zerotier.com/sockets not updated > > > > > > How we're you able to fix it? > > I just tried the instructions in the example...

> You could use `. .\build.ps1; Build-Library -BuildType "Release" -Arch "x64" -LangBinding "java"` to get the lib separately (for windows). > > I use this way to get my lib...

It works!!! ![image](https://github.com/zerotier/libzt/assets/65881086/8a260672-791c-445e-9b28-13abdc486ee9) All I change is from s_addr to S_addr in #277 and the nlohmann/json fix in #263 Here's the step I made it work Apply the fix above,...

> See Here: the native method just returns "". ![bug](https://private-user-images.githubusercontent.com/98652627/333855775-b0612962-d6d4-47d7-a2af-ed07c24e7cd3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTY3MDkyNjAsIm5iZiI6MTcxNjcwODk2MCwicGF0aCI6Ii85ODY1MjYyNy8zMzM4NTU3NzUtYjA2MTI5NjItZDZkNC00N2Q3LWEyYWYtZWQwN2MyNGU3Y2QzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTI2VDA3MzYwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkzMzZiNjBlMjUzYzBjMzdlMDJlYmYzZmRmYzM3ZjQxYTA1ZGYyM2NhZjM4ODdkYTE3MDY4NmE5MDc2ZTMzZTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.qkDRi6O5SUKv6oyIF2aWylvi3Atw2IVfs4E2AGlny38) I did not use native method I use ``` ZeroTierNode node = new ZeroTierNode(); System.out.println(node.getIPv4Address(networkId).getHostAddress()); ```

just in case anyone stumble on this issue I'm going to leave it open until the issue is fixed with scripts https://github.com/zerotier/libzt/issues/267#issuecomment-2132084509

The thing is I have no idea with the change in JavaSockets.cxx because I don't know c++. The change is a required fix to build. I don't want to have...