enet.bespin.com description wrote:ENet's purpose is to provide a relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol). The primary feature it provides is optional reliable, in-order delivery of packets.
ENet omits certain higher level networking features such as authentication, lobbying, server discovery, encryption, or other similar tasks that are particularly application specific so that the library remains flexible, portable, and easily embeddable.
Grab it from github: https://github.com/mrozbarry/enet
I should mention I did the translations with dkl's fbfrog tool.
- Updated enet.bi with include it's library, as well as winmm on the windows platform
- Uploaded win32/mingw libenet.a
- Fixed a bunch of errors I saw when I tried compiling against libenet.a
Note: In windows, if you are creating a console application (no gui), you must add `winmm` to the linker (-l winmm). For some reason, I can't statically link to it from Code::Blocks. The gfx library in fb automatically links to this, so it is not an issue for any app that sets the screen resolution/is a visual app.
- Added a simple authoritative server example with a client (See bindings/freebasic/example/readme.txt for details)
Hope that helps some people :)