As the title says, I did a little NAT-PMP client on crystal while reading RFC 6886 - NAT Port Mapping Protocol (NAT-PMP)
This is the first library that I have done, is not that fancy and it may have some bugs, but it works fine overall.
I need to document the functions so I can make docs for them but I’ll do that later.
Suggestions like optimization and better practices are appreciated! Specially in this part of the code: natpmp-crystal/src/natpmp.cr at master · Fijxu/natpmp-crystal · GitHub