Mutliplayer IP issues

Blitz3D Forums/Blitz3D Programming/Mutliplayer IP issues

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

ok as far as i know(tested) if you connect to a host/server on a certain port , the server can send info back on the same port to you and you dont need a port open to recieve it. i think the router leaves the port you send the data on open for a second or two incase there is a response. Counterstrike uses this as you dont need to setup port forwarding to connect to the server. The only thing you need is the port open at the server end if its behind a router. The same thing applies to Internet explorer, when u connect to say "www.google.com" on port 80, you recieve the page data back without the need to have port 80 open at your end. Basically the rule is, if you send a packet of data through a router to a server, the port you sent it through should stay open to allow a response to come back. This is especially true for tcp connections as without you realising, every packet you send, a response is recieved and port 80 isnt open on your router.