Posted By: Reconnoiter
2 questions about session_open and session_connect - 05/13/14 16:05
Hi all,
1). When I create a server with session_open, and let a someone else on the same network (/lan) join it, would this engine detect automatically that it is lan and so do all the sending of data through the lan network instead of through the internet? Or do I need to start the server as LAN (if that is even possible)?
2). When I start a server with session_open and call it e.g. 'serverblabla', and some other guy wants to join from somewhere on the other side of the planet (or whatever region ) and does a session_connect(app_name,"serverblabla"); with serverblabla as an exact match & having port 2300 open, would that automatically work? And would let session_connect(app_name,""); let him succesfully join the server serverblabla?
tnx
1). When I create a server with session_open, and let a someone else on the same network (/lan) join it, would this engine detect automatically that it is lan and so do all the sending of data through the lan network instead of through the internet? Or do I need to start the server as LAN (if that is even possible)?
2). When I start a server with session_open and call it e.g. 'serverblabla', and some other guy wants to join from somewhere on the other side of the planet (or whatever region ) and does a session_connect(app_name,"serverblabla"); with serverblabla as an exact match & having port 2300 open, would that automatically work? And would let session_connect(app_name,""); let him succesfully join the server serverblabla?
tnx