Tagged With: Protocol

Marshalling and Encodings

May 16, 2016 by “No Bugs” Bunny

Marshalling and Encodings - Post preview image

Quote:

Encoded data size is especially important for Client-Server communications, and less important (within reason) for Server-to-Server ones and for locally-stored format.

Another Quote:

On the other hand, due to being optimized for CPU operation, Flatbuffers are NOT optimized space-wise; even compared to not-so-optimal-space-wise Google Protocol Buffers, Flatbuffers can lose additional 1.5x in size

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork Programming

Read more

TCP and Websockets for Games

May 2, 2016 by “No Bugs” Bunny

TCP and Websockets for Games - Post preview image

Quote:

TCP is a byte stream, the whole byte stream and nothing but the byte stream

Another Quote:

if all packets reach Client, there isn’t that much difference between TCP and UDP

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork ProgrammingOn.SecurityBest Practices

Read more

UDP for games – security (encryption and DDoS protection)

April 25, 2016 by “No Bugs” Bunny

UDP for games – security (encryption and DDoS protection) - Post preview image

Quote:

Yes, you DO need to encrypt your UDP traffic. And no, using UDP is NOT a valid excuse to skip encryption

Another Quote:

Personally, I prefer to think of it as of insurance - when I'm paying my premiums in hope that my money will go to waste.

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork ProgrammingOn.SecurityBest Practices

Read more

UDP from MOG Perspective

April 18, 2016 by “No Bugs” Bunny

UDP from MOG Perspective - Post preview image

Quote:

you may think of UDP as of an analog of good old C: you can do pretty much everything, but it is not because the language helps you – it is rather because it doesn’t stand in the way :-)

Another Quote:

As most of the routers (including pretty much every backbone router out there) are not configured to support multicast, it makes multicast over the public Internet hopeless :-(

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork Programming

Read more