enet
enet copied to clipboard
ENet reliable UDP networking library
Please add an option to link Enet as a shared library. It would greatly help my use case (loading Enet with LuaJIT's FFI, which only loads shared libraries)
$ make C:/Devel/MinGW/msys/1.0/bin/sh.exe ./libtool --tag=CC --mode=compile gcc -DPAC KAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"1.3.4\" -DPACKAGE_STRING=\"libenet\ 1.3.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVERSION=\"1.3.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE _STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR =\".libs/\"...
It's maybe a third day I cannot load http://enet.bespin.org/.
Visual Studio 2022 points out multiple instances of access to uninitialized local variables. Examples: [1](https://github.com/lsalzman/enet/blob/c44b7d0f7ff21edb702745e4c019d0537928c373/protocol.c#L302) [2](https://github.com/lsalzman/enet/blob/c44b7d0f7ff21edb702745e4c019d0537928c373/protocol.c#L1077) [3](https://github.com/lsalzman/enet/blob/c44b7d0f7ff21edb702745e4c019d0537928c373/protocol.c#L1239) [4](https://github.com/lsalzman/enet/blob/c44b7d0f7ff21edb702745e4c019d0537928c373/protocol.c#L1602) There are other warnings that I'm not entirely sure if valid or...
Hello, I wanted to ask you @lsalzman, whether ENet could see an optimization with GSO and sendmmsg (instead of the plain 'sendmsg') in order to optimize throughput? ( see: https://blog.cloudflare.com/accelerating-udp-packet-transmission-for-quic/...
hello, I noticed that if I have an enet server and a client and I use host service 0 on the server, but the main game server loop has a...
In what I'm writing, I have to send some pretty large packets, which get fragmented. I have a progress bar, and I'd like to update it as fragments are getting...
- Include libenet.pc in installation - Add missing project version as far as CMake is concerned; One would need to bump the version in CMakeLists.txt when releasing - ~~Use [GNUInstallDirs](https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html)...
When building enet as a DLL functions like: ```c extern void enet_peer_reset_queues (ENetPeer *); ``` are not being exported because their linkage is not ```ENET_API``` but ```extern```. Is there a...
Hi, I have enet_host_service with timeout 0ms on client and it seems eating my cpu alot compared to using 10ms. `while (enet_host_service(client, &event, 0) > 0) {` using 10ms seems...