Tagged With: TCP
(Almost-)Zero-Additional-Latency UDP-over-TCP
March 21, 2017 by • “No Bugs” Bunny
Quote:
we realize that for some of the Clients – UDP just doesn’t work because of some weird firewall between Client and Server
Another Quote:
there is nothing to block us (so head-of-line blocking doesn’t apply)
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork Programming
Read moreTCP Peculiarities as Applied to Games, Part II
March 14, 2017 by • “No Bugs” Bunny
Quote:
Nagle’s algorithm aims to deal with those [CENSORED] developers who’re trying to send data over TCP in really small chunks (like 1 byte each time)
Another Quote:
it seems that “proportional rate reduction” (PRR, reportedly used by Linux kernels by default starting from 3.2) performs for gaming purposes a little bit better than the alternatives
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork Programming
Read morePacket Loss for an App-Level Developer. Part I. Router Failures, BGP Convergence Time, AQM, Traffic Shapers.
January 16, 2017 by • “No Bugs” Bunny
Quote:
All the routers, switches (actually – pretty much each and every device which forms Internet infrastructure) – are allowed to drop each and every packet.
Another Quote:
TCP, when it observes a dropped packet, interprets it as an indication of congestion – and slows down.
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork Programming
Read moreTCP and Websockets for Games
May 2, 2016 by • “No Bugs” Bunny
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