Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [protocols]

A list of method declarations. Classes conforming to a protocol must implement any required methods and may implement any optional methods.

Filter by
Sorted by
Tagged with
4 votes
2 answers
247 views

Binary protocol variability V2.0

Up-to-date Version of this question: Binary protocol variability V3.0 Summary of the problem: Parsing an incoming stream of events from a binary communication protocol, if we have some variations in ...
Dmitry Nogin's user avatar
  • 6,131
10 votes
1 answer
4k views

Network protocol using TCP, sending images through sockets

I would like to ask about your opinion about my code. The idea is simple: I designed my own protocol, where client asks the server about the image, and the server sends the image, following the below ...
yak's user avatar
  • 223
2 votes
0 answers
249 views

Binary protocol variability V3.0

Summary: Parsing an incoming stream of events from a binary communication protocol, if we have some variations in devices to support and would not like to have one huge switch to include everything. ...
Dmitry Nogin's user avatar
  • 6,131