LiteNetLib
This project makes use of LiteNetLib to be able to setup connections, send UDP packets(both unreliable and reliable, which is heaps handy) and do NAT hole punch through. You can find this library and its documentation here https://github.com/RevenantX/LiteNetLib
From memory the current project is using 0.9.3 which is outdated, but did cover all of the use cases necessary for the needs of the project. It may be quite a bit of work to upgrade, but you may need to if there are newer features in LiteNetLib you need.
My understanding of the support is that it works for Windows, Linux, Mac, Android and IOS but unsure which Consoles are supported at this stage. If you need console support, reach out to the developer or their Discord to find out