zpl-c / enet

⚡️ ENet reliable UDP networking library
https://blog.zpl.pw
MIT License
650 stars 62 forks source link

Implement IPV4 only support #41

Open muhammadilahee-a3 opened 1 year ago

muhammadilahee-a3 commented 1 year ago

Some embedded platforms only support ipv4 and most of the code seems to be based on AF_INET6. Please implement a define macro so that we can switch between ipv4 and ipv6.