Top "Protocols" questions

A common means for (un)related objects to communicate with each other.

What's the most efficient protocol for reliable multicast?

When a sender needs to multicast a relatively large volume of data (say several megabytes per second) in a reliable …

protocols file-transfer multicast ethernet reliable-multicast
Swift override protocol methods in sub classes

I've a base class that implements an extension that conforms to a protocol as below: protocol OptionsDelegate { func handleSortAndFilter(opt: …

ios swift overriding protocols ios-extensions
Understanding the ZMODEM protocol

I need to include basic file-sending and file-receiving routines in my program, and it needs to be through the ZMODEM …

protocols zmodem
Using JSONEncoder to encode a variable with Codable as type

I managed to get both JSON and plist encoding and decoding working, but only by directly calling the encode/decode …

ios swift serialization protocols codable
How to pass data between UIViewControllers with protocols/delegates

In the code below I have a ViewController("SenderViewController"), which passes a message to the main ViewController when a button …

ios swift delegates protocols pass-data
convert NTP time to Human-readable time

i have managed to make a NTP request and retrieve the server time from it's NTP response. i want to …

c++ linux protocols ntp
What is the easiest way to use the HEAD command of HTTP in PHP?

I would like to send the HEAD command of the Hypertext Transfer Protocol to a server in PHP to retrieve …

php http protocols head
How do the protocols of real time strategy games such as Starcraft and Age of Empires look?

I'm interested in how the protocols (and game loop) work for these type of games; any pointers or insights are …

language-agnostic protocols real-time
Are binary protocols dead?

It seems like there used to be way more binary protocols because of the very slow internet speeds of the …

tcp binary client protocols