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 / guarantee net message string??

Author
Message
ICERGB
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 3rd Nov 2003 20:39
Is there anyway to guarantee a "send net message string" command?

Is it possibly guaranteed by default?
Mussi
23
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 3rd Nov 2003 21:32
well there is no guarantee, like if you send data to your friend and he's having lag or something at that moment the packet could be lost

Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb ddr sdram
ICERGB
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 4th Nov 2003 07:01
If I use [send net message memblock] or [send net message sound] or [send net message bitmap] there is a guarantee packet flag...
That is guaranteed Mussi? Gee I wish you would be a bit more helpful, or just not...
Why not string? Or is there?
zircher
23
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 4th Nov 2003 15:23
It sounds like the thing to do is convert the string to a memblock and then send that with the gaurentee flag set. I just wrote some code to do that yesterday, but I have not tested it. If it works as I expect it will, I'll post that after I get home tonight. [About 8-10 hours from now.]
--
TAZ
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 4th Nov 2003 15:31
you want a return value to make sure that the packet was recieved?


To Survive You Must Evolve... This Time Van Will Not Escape His Fate!
zircher
23
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 7th Nov 2003 18:41
Sorry about the delay on this, I got caught up in work, seminars, anime, etc. See the source button for more info.
--
TAZ
ICERGB
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 8th Nov 2003 05:24
Excellent!

Yes I need to guarantee packets at least, I think, for any piece movement; and this seems to be just what I need.

Thanks Zircher!

Login to post a reply

Server time is: 2026-07-26 15:31:09
Your offset time is: 2026-07-26 15:31:09