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.

DarkBASIC Professional Discussion / [MultiSync] Can i to be host and client at same time?

Author
Message
Xystus
22
Years of Service
User Offline
Joined: 2nd Sep 2003
Location:
Posted: 5th Oct 2012 14:40
This code doesn´t work for me



but works perfect if i put host and client in diferent executables.
darkvee
20
Years of Service
User Offline
Joined: 18th Nov 2005
Location:
Posted: 6th Oct 2012 03:37
You make a exe that is both host and client. or separate ones.
I learned it in about a day. It's pretty easy to do it. Load up the example files to help you get used to the code and pattern.

darkvee
Xystus
22
Years of Service
User Offline
Joined: 2nd Sep 2003
Location:
Posted: 6th Oct 2012 16:05
There aren´t examples in the help files to be server and client at same time in the same program
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 6th Oct 2012 21:51
You can run a second window to run a server client...

Xystus
22
Years of Service
User Offline
Joined: 2nd Sep 2003
Location:
Posted: 9th Oct 2012 11:58
yes but a second windows cause more work for the cpu than only one window.
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 9th Oct 2012 14:41
I was curious about the process using another thread automatically... though you could use DigitalFurys multi thread plugin and run the new window on a new thread if that is really a concern...

Login to post a reply

Server time is: 2026-07-07 15:11:00
Your offset time is: 2026-07-07 15:11:00