Enet-Monkey

Monkey Forums/User Modules/Enet-Monkey

Landon(Posted 2015) [#1]
After many nights of porting code, crying, wallowing in a fetal position i've ported ENET to native monkey code....

it's still not 100% perfect as i am adding and fixing bugs as i test it out but i did want to share the news. I've placed the code on github here.

https://github.com/lancewrath/enet-monkey

Currently the only Platform object is using the built in monkey sockets, however i plan to add platforms for Action script sockets, Websockets and Chrome.UDP Sockets for Html5

So far i was able to connect and send info to another server running ENET, i'll try to add some examples in but.. anyone who has experience with the original enet lib, i would love some help with this.. there is so much code and a lot of the bitwise stuff like htonl and htons functions i can't find any source for.


ImmutableOctet(SKNG)(Posted 2015) [#2]
Might I recommend my 'byteorder' module as a reference?


Landon(Posted 2015) [#3]
Thanks!