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.

AppGameKit Classic Chat / AGK Networking under the hood

Author
Message
JohnStabler
AGK Bronze Backer
10
Years of Service
User Offline
Joined: 16th Aug 2013
Location: Cardiff, Wales, UK
Posted: 11th Feb 2015 12:02
A quick question about the AppGameKit multiplayer networking before I start implementing some game logic.

Are network messages received by the clients in order that they're sent? How can I guarantee that a message gets sent and received (i.e. is that already done by AppGameKit or do I need to implement it myself)?
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 11th Feb 2015 12:30 Edited at: 11th Feb 2015 12:31
a connection with tcp is similar a pipe.
you put something in at one side, and at the other side it
will approach.

if u add your message a command name you now
what to read at the host side.

AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)
JohnStabler
AGK Bronze Backer
10
Years of Service
User Offline
Joined: 16th Aug 2013
Location: Cardiff, Wales, UK
Posted: 11th Feb 2015 12:39
OK, thanks.

For some reason I thought AppGameKit used UDP
JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 11th Feb 2015 12:54
It uses UDP for broadcasting to the player for debugging. It then gets the file with TCP.

Onwards and sometimes upwards

Login to post a reply

Server time is: 2024-05-18 23:58:55
Your offset time is: 2024-05-18 23:58:55