Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Nymphodora, Quad), 923 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
2 questions about session_open and session_connect #441132
05/13/14 16:05
05/13/14 16:05
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
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 grin ) 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

Last edited by Reconnoiter; 05/13/14 16:06.
Re: 2 questions about session_open and session_connect [Re: Reconnoiter] #441167
05/14/14 17:35
05/14/14 17:35
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
I see in the manual now that the answer to 2) is no it doesn't work since the client has to connect by typing the right IP adres. I can't find the answer for 1), but I quess it goes automatically?

Re: 2 questions about session_open and session_connect [Re: Reconnoiter] #441173
05/14/14 22:23
05/14/14 22:23
Joined: Feb 2012
Posts: 371
Dico Offline
Senior Member
Dico  Offline
Senior Member

Joined: Feb 2012
Posts: 371
For question 1 , that dependent of how you connect to your server laugh
if u use it like this (session_connect(app_name,"internet ip")), that mean the engine send the data over internet to this client , if you connect like this (session_connect(app_name,"") or session_connect(app_name,"127.0.0.1")) or trough router (session_connect(app_name,"192.168.....") + opned port) that mean the engine send the data over lan.

Re: 2 questions about session_open and session_connect [Re: Dico] #441205
05/15/14 11:29
05/15/14 11:29
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
tnx Dico laugh

Last edited by Reconnoiter; 05/15/14 11:29.
Re: 2 questions about session_open and session_connect [Re: Reconnoiter] #441222
05/15/14 20:24
05/15/14 20:24
Joined: Feb 2012
Posts: 371
Dico Offline
Senior Member
Dico  Offline
Senior Member

Joined: Feb 2012
Posts: 371
Originally Posted By: Reconnoiter
tnx Dico laugh

I'm happy to help you laugh


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1