kcp2k
kcp2k copied to clipboard
Feature request: Add access to client udp port (UDP hole punching)
Description
I need to know the client udp port which is randomly assigned to the socket, so I can use it to punch a UDP hole from the server to the client (f.e. Full-cone NAT).
SERVER:7777 =UDP-PUNCH=> CLIENT:<RANDOM>
Without access to the udp client port (socket port) I cannot punch these holes during the connection phase.
Feature request
Public method to access the assigned client udp port.
You did great work!
Thanks in advance and best regards, Thomas