Closed mirasrael closed 2 years ago
ENetAddress
and dependent functionality needs rework to fix this. I've properly implemented it here.
@nxrighthere I'm assuming this is the exact commit that fixed the issue: https://github.com/nxrighthere/ENet-CSharp/commit/006ed258dca4af09effdeed3d1d417f3c6b04b2a
Correct?
I made some additional tweaks after implementing this, but yes, this commit is when it was done initially.
@nxrighthere @inlife i might have fixed it, but i am very new to network programming and might have made mistakes: https://github.com/zpl-c/enet/pull/22
If you try to call:
then it will produce following IPv6 bytes:
And if pass this address to
enet_host_create
then it will fail to create a host. But if you call:or
then it will resolve to:
and everything works fine.