- Are the principles applicable to TCP as well as to UDP, and will there be any differences in implementation? I see that entity interpolation should not protect against packet loss, but that's about it.
Although you do not have to deal with packet loss, you will have to deal with longer transit times. TCP is slower than UDP, and you will have to mitigate this in real time. I would think that these principles are still applied at a fundamental level.
- Can I communicate between server and web browser and vice versa using UDP and Node.js?
Generally speaking, not yet. At least not without some browser extension or plugin - WebSockets uses TCP. However, it is expected that WebRTC (and, more specifically, the PeerConnection API). When data channels are implemented, it may be possible to communicate with UDP.
- Since the document is older than a decade, are these principles still in use or have other technologies emerged?
I would be very surprised to hear that they are no longer used - the article you quoted is practically required for reading for programmers. The same can be said of new methods, although I have not paid close attention to events in this area for several years.
psema4
source share