Skip to main content

Questions tagged [protocol]

Filter by
Sorted by
Tagged with
3 votes
2 answers
442 views

Most database wire protocols mandate a specific byte order for multi-byte integers: PostgreSQL: big-endian (network byte order) MySQL: little-endian MongoDB: little-endian (BSON format) OracleDB: ...
ybjeon01's user avatar
1 vote
4 answers
278 views

Context I'm working on a client-server-agent application, where server distributes tasks supplied by clients over agents. Server is passive, all communications are initiated by clients and agents. ...
Basilevs's user avatar
  • 4,507
0 votes
1 answer
85 views

I'm currently trying to understand protocolls such as A2A and MCP. While doing so, I wasn't sure whether MCP is responsible for defining: The structure and required fields of JSON messages (e.g., ...
Flower's user avatar
  • 3
0 votes
2 answers
108 views

I am currently implementing a library in Rust that implements a proprietary serial protocol. The protocol specifies several enum values, that mostly are returned by the hardware as u8s (bytes), but ...
Richard Neumann's user avatar
0 votes
2 answers
317 views

I want do develop an IP based protocol oriented to smallest possible data overhead. For example UDP adds overhead of 8 bytes header. I want zero header. I will use this protocol via 2G mobile network ...
user1576055's user avatar
1 vote
2 answers
647 views

As part of an university project I am currently working on an eeg-biosignal classifier. While the project itself doesn't really focus on design ("anything that works") I am trying to learn ...
J. Lo's user avatar
  • 21
6 votes
3 answers
3k views

What's the difference between an API and a protocol? To use a specific example: Is Coinbase's choice to refer to its WebSocket client specification as an "API" appropriate? It seems that ...
Katie's user avatar
  • 269
1 vote
2 answers
77 views

I've got a GRPC API that I'm designing. It includes an RPC method that requires the caller follow-up with another API call. Some pseudo-code a client might write: val apiInstsance = makeAPIInstance() ...
Groostav's user avatar
  • 257
-1 votes
2 answers
150 views

I am currently in the design phase of a binary protocol which is intended to be agnostic of the transport layer, meaning it should work on top of for example websockets as well as serial device to ...
Curunir's user avatar
  • 119
-1 votes
2 answers
350 views

I am currently developing a service and a client and I use HTTP statuses for communicating certain info. For example, I have a POST /vikings endpoint that starts a long running process to create a ...
Anton Daneyko's user avatar
0 votes
2 answers
1k views

I was confused by the distinction between REST and HTTP, and I found this article that cleared things up for me. In summary, it explained that REST is a set of general principles for web communication,...
T Hummus's user avatar
  • 111
1 vote
2 answers
263 views

This is a very generic question not much related to any language/protocol. I have a desktop application and a backend that communicate via TCP. Most protocol events are paired -- request/response. For ...
badSantos's user avatar
  • 137
1 vote
0 answers
71 views

As a hobby / to learn I am building an app in JavaScript using Node.js where a component of it will take input from a client, send it to a server, and then broadcast it to other clients. For ...
Leftover Salad's user avatar
-6 votes
1 answer
2k views

In Tanenbaum's Computer Networks book Three concepts are central to the OSI model: Services. Interfaces. Protocols. Probably the biggest contribution of the OSI model is that it makes the ...
Tim's user avatar
  • 5,565
2 votes
1 answer
706 views

I have a device that connects using Bluetooth Low Energy (BLE). I want it to communicate with a server over the internet using a smartphone as a gateway. I have thought of different approaches and I ...
RealTimeEngineer91's user avatar
-3 votes
1 answer
118 views

Saw below definition on https://http2.github.io/: What is HTTP/2? HTTP/2 is a replacement for how HTTP is expressed “on the wire.” It is not a ground-up rewrite of the protocol; HTTP methods, status ...
kulsin's user avatar
  • 295
2 votes
3 answers
823 views

Design Data Intensive Applications compares RPC and REST. It says The RPC model tries to make a request to a remote network service look the same as calling a function or method in your programming ...
Tim's user avatar
  • 5,565
2 votes
2 answers
815 views

The context I have two components A & B, which communicate through events . Components B is responsible for long running background processes and it listens to the following event: ...
Cap Barracudas's user avatar
1 vote
1 answer
268 views

Until now I used Arduinos with shields and ICs and mostly I used libraries to communicate with i.e. ADC, DAC, Real Time Clock, etc. Now I want to do the same kind of programming with the same ICs ...
Edgar's user avatar
  • 293
1 vote
1 answer
329 views

Let's imagine a custom network application having 3 protocol layers. Layer A is the top-level protocol and layer C is the lower level protocol. Each layer has its distinct functionalities. These ...
Debashish's user avatar
  • 135
0 votes
1 answer
146 views

I have searched well before asking this question, and some of the questions look like what I need here, but none of the gave a clear answer to my question. I am writing a web application (in PHP if ...
Osama Aldemeery's user avatar
0 votes
1 answer
1k views

I'm trying to make a simple network application using boost::asio. I think that I understood the basic things like io_context, async functions etc, but I really don't know how to deal with buffers. ...
bielu000's user avatar
  • 351
2 votes
2 answers
119 views

I am running into this issue: Suppose that there are two independent services, A and B, and both process messages from C. Suppose that I have a service X that needs to know if a message m from C was ...
Husain's user avatar
  • 309
1 vote
0 answers
66 views

Is there a protocol or a convention that supports REST (ok, maybe we should use HTTP here instead) processing chain and some neat features to help with that? Let me explain what I mean. Let's assume ...
OzrenTkalcecKrznaric's user avatar
3 votes
1 answer
188 views

I am implementing a messaging protocol between nodes on a network and i am wondering how to expose the messaging system interface to the programmers. The messaging protocol supports a set of commands ...
Karim Manaouil's user avatar
4 votes
2 answers
3k views

There are points of failure: ATM gives money then send a deduction request to it's bank. What happens, if the request will fail? the user got the money but his account hasn't been deducted - fail. ATM ...
arminvanbuuren's user avatar
1 vote
1 answer
3k views

I'm looking to understand the high-level architecture, topology, protocols and componentry of ATMs and POS systems work with banking institutions worldwide. I've read several half-way decent articles ...
hotmeatballsoup's user avatar
3 votes
2 answers
2k views

After reading and using different concepts(right or wrong) questions related to modularity have appeared. I want to implement the microservice architecture in my projects the right way. As from ...
DaAmidza's user avatar
  • 159
3 votes
2 answers
8k views

It is often stated that Modbus/TCP isn't a real-time protocol. It is also "known" that Modbus isn't a real-time protocol. This despite the fact that the original Modbus protocol is highly ...
user247243's user avatar
0 votes
1 answer
282 views

I have a group of 100 clients around the globe, that need to communicate between then self, fast. Each message that each of the clients sends needs to be broadcasted to everyone. The messages will be ...
Ilya Gazman's user avatar
-1 votes
1 answer
153 views

https://www.toyota.de/automobile/corolla/index.json I understand how .JSON works but, how is it possible to use that instead of say, .php or .html this is the first time I've seen anything like that.
ARLCode's user avatar
  • 197
4 votes
2 answers
299 views

For example, I find myself using software X. Software X has a github repository. I find that I can make a lot of serious refactoring changes that are not small, and reconfigure the entire repository ...
Dennis's user avatar
  • 8,267
3 votes
1 answer
621 views

I created a generic class MyClass<T: Numeric> {...} and got errors in my functions that tried to use > and <, along the lines of "Binary operator '>' cannot be applied to two 'T' operands."...
SaganRitual's user avatar
0 votes
0 answers
64 views

I am developing a server that exposes multiple services to other processes (they could be both servers or hmi clients): those could be hosted on the same machine or not and they could be written in ...
Marco Stramezzi's user avatar
0 votes
1 answer
272 views

Recently I was reading the AMQP protocol specification from the official website, however, because this is my first protocol that I am trying to study in depth so couple of generic questions about ...
kuskmen's user avatar
  • 194
8 votes
1 answer
393 views

I was reading the RFC 2616 regarding HTTP/1.1 when this term came up: Therefore, the HTTP/1.1 protocol provides these important elements: [...] Protocol features that provide full semantic ...
0x01Noodle's user avatar
2 votes
2 answers
4k views

Basically, I was debating in my head how an API and a protocol are different. After thinking about it, I come my newbie conclusions that I believe they are pretty much the same, except that protocols ...
chromechris's user avatar
-1 votes
1 answer
139 views

I got a trainee in the company I work for. We are currently working on a JS interface that communicates through websocket with a C/Lang server. My trainee asked me a very good question this morning. ...
Hakeem El Bakka-lee's user avatar
4 votes
4 answers
4k views

I am copy/pasting my comment from this article sumarizing a post on reddit: I really don't think "Protocol Orientation" is something new... You've got protocols in Obj-C, you've got Interfaces in ...
Lescai Ionel's user avatar
2 votes
1 answer
986 views

Is there a naming convention for protocols and concrete implementations of them in Objective-C? Specifically regarding a protocol that's used as an abstract 'service' or 'manager' class declaration. ...
Mitch Ware's user avatar
2 votes
1 answer
2k views

This document on European Telecommunications Standards Institute website describes some Machine2Machine (M2M) communications protocols. I've seen mIa, mId and dIa interfaces in some research papers, ...
user avatar
15 votes
3 answers
5k views

I need several duplex channels between two hosts. There are a number of advantages to establish only one TCP connection. But I doubt multiplexing would cause some inevitable problems. Will it harm ...
Sherwood Wang's user avatar
-1 votes
1 answer
262 views

UDP provides no guarantee for delivery and no protection from duplication and is connection-less protocol but why then DNS uses UDP protocol. Please make me clarify. At what conditions we should ...
nischalinn's user avatar
0 votes
1 answer
112 views

i've been wrapping my head around this and I want some ideas. How would I go about making a remote shutdown program for one computer to shutdown another? Would I use http or another protocol? I was ...
hiperbolt's user avatar
-1 votes
1 answer
793 views

I'm looking for a notation that is familiar to modern developers and can supersede s-Notation. (additional insight into Rivest's proposal of s-Expression is here) Is there any Swagger, JSON or other ...
makerofthings7's user avatar
1 vote
1 answer
49 views

I recently wrote a protocol I call RPEP (https://github.com/Tixit/RPEP), partially in response to the unfortunately named WAMP protocol. I'm looking for feedback as to whether the protocol is ...
B T's user avatar
  • 350
1 vote
1 answer
120 views

I ask my question on programmers because: no coding is really involved this question is very conceptual concerning an exchange protocol. Bit of context: When you implement Bluetooth, like I do, you ...
Larry's user avatar
  • 121
1 vote
1 answer
680 views

I have a golang library that abstracts a network service (think IRC-alike). The network server produces events which users of my library should consume. I'm using blocking network calls internally. I ...
mappu's user avatar
  • 21
2 votes
2 answers
6k views

I'm wondering what the exact definition of the header-field Sec-Websocket-Key is. The field is used for Websocket connections. The client asks the server to upgrade from HTML to Websocket. The request ...
Bobface's user avatar
  • 123
5 votes
1 answer
5k views

Protobuf is a good thing, it allows c++ devs to not bother with class serialization/deserialization, is fast and .proto format is very nice. It also allows automatic data validation. But the messages ...
Zeks's user avatar
  • 221