Network Programming

Network programming is one field which everybody uses but very few people really know in depth. Our IT Hare did write a software which processes billions of network packets per day; moreover, they’ve done it in a very robust and efficient manner. And last but not least, they’re ready to share their experience :-)

Network Programming: Socket Peculiarities, Threads, and Testing

May 9, 2016 by “No Bugs” Bunny

Socket Peculiarities

Quote:

I am not saying that this architecture is the only viable one, but it does work for TCP for sure (and performs reasonably well too)

Another Quote:

The whole task of optimizing performance beyond, say, 20-50K packets/second per box tends to be Quite Elaborated, and involves quite a few things which are platform- and hardware-dependent.

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.System ArchitectureDistributed systemsOn.ProgrammingTips and TricksNetwork Programming

Read more

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