Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / Open TCP port in NAT, UDP port can already be opened in NAT

Author
Message
Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 3rd Apr 2019 11:03 Edited at: 3rd Apr 2019 11:04
Hi I can open UDP ports in my NAT because I can bind UDP to a port on a device, send messages and then read the port assigned by NAT. But for TCP ports, however, I can't send a message before a connection is established, thus I can't make the NAT open a port for me.

EDIT: This is a feature request, but I forgot to put it in the title.
13/0
Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 5th Apr 2019 18:37
If I could bind a socket connection to a specific port (not the listener), then send some message out, read the port on the receiving device assigned by NAT from sending device, then close the socket connection, then HostNetwork on the same port that I had bound the socket connection to, I should have an open connection through NAT.
13/0

Login to post a reply

Server time is: 2024-04-19 05:54:31
Your offset time is: 2024-04-19 05:54:31