B4J Question Finding local port used by a socket

yo3ggx

Active Member
Licensed User
Longtime User
I have a tcp connection established to a remote server. How can I find the tcp port used by the local socket? I want to use it for an UDP connection too.
Thank you.
 

yo3ggx

Active Member
Licensed User
Longtime User
Thank you Erel. I need to be the same port used for both TCP and UDP because of a specific firewall.
 
Upvote 0
Top