zerotier / libzt

Encrypted P2P sockets over ZeroTier

Home Page:https://zerotier.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C# Optional Setup Doesn't Seem So Optional -> System.ExecutionEngineException

chadrockey opened this issue · comments

It seems like some combination of the following is essential or you get those cryptic System.ExecutionEngineException thrown.

node.InitFromStorage("."); node.InitAllowNetworkCaching(false); node.InitAllowPeerCaching(true); node.InitSetEventHandler(OnZeroTierEvent); node.InitSetRandomPortRange(40000, 50000);

Do you have any insight on what might be the problem without these? Is it the storage or caching? I was trying to make it very ephemeral, but it seems like I must copy the sample code exactly for it to work.

It's the event handler issue again. Duplicate of #256