Book: D&D of MOGs

TCP and Websockets for Games

May 2, 2016 by “No Bugs” Bunny

TCP Server serving Multiple Clients

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

DDoS Protection

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: Unreliable Transfers

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

Avoiding ugly afterthoughts. Part b. Coding for Security, Coding for i18n, Testing as a Part of Development

April 4, 2016 by “No Bugs” Bunny

i18n, error handling, DfT, security, cross-platform while coding

Quote:

Doing sanitization at IDL level automates quite a bit of tedious-and-error-prone work, which is always a Good Thing™

Another Quote:

Hey, this whole thing can be made MUCH simpler, the only thing we need to acknowledge is that the best identifier for a string is the string itself!

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

Read more