I made a godot-proposal post about it, because I couldn’t find anything on how to send packets from specific ports, either in the documentation OR the actual godot C++ souce code.
If anyone is interested, please give it a thumbs up. This can be used to help with NAT traversal - so it would help with networking of any peep to peep game.