Gamestudio Links
Zorro Links
Newest Posts
hello all
by jcl. 09/24/19 09:04
Right AssetsFix for trading Forex on IG?
by Andy60. 09/23/19 21:11
Converting fbx file to mdl7
by Dark_Light. 09/23/19 15:50
New system for Zorro S subscriptions
by jcl. 09/23/19 08:34
IG plugin initial release
by Andy60. 09/23/19 07:40
Any chance of PBR materials with A8?
by Dooley. 09/22/19 21:43
Levels, textures, etc for A8
by Dooley. 09/22/19 03:57
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
8 registered members (svenbob, Tamas, MatPed, Superku, kvm, jenGs, 3run, 1 invisible), 642 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Zylo, Hjuutgckk, Dark_Light, oxygenjoe, web20tpo
18292 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,811
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,811
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,811
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,811
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,811
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,811
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