You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
After patching this to get the client port I also found out, that there's no way to set custom socket options for the server side. I had to patch CreateServerSocket to make it possible to send udp hole punching events from the same server port to the clients while the server ist already bound to the socket (running/listening):
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
The text was updated successfully, but these errors were encountered: