Questions tagged [communication-protocol]

Communication protocol is a system of rules that allow two or more entities of a communications system to transmit digital message formats/rules. Protocols are the standard that defines the syntax, semantics and synchronization of communication and if any error recovery methods.

Communication protocol is a system of rules that allow two or more entities of a communications system to transmit digital message formats/rules. Protocols are the standard that defines the syntax, semantics and synchronization of communication and if any error recovery methods. Protocols may be implemented by hardware, software, or in a combination. They are required in telecom, computers and related systems. Internet/Computer Network are not possible without them.

Some of the properties that they define are : packet size, transmission speed, error correction types, handshaking, synchronization techniques, address mapping, acknowledgement processes, flow control, packet sequence controls, routing, address formatting.

In computer network, Protocols are normally defined in a layered manner and provide all or part of the services specified by a layer of the OSI reference model. Protocols are usually implemented by writing a number of programs which communicate with one another through queues and by function calls. Timers are a integral part of protocols and to start and stop timers, a it normally uses an interface to the computer's operating system.

82 questions
83
votes
3 answers

Difference between HTTPS and SSL

What is the difference between HTTPS and SSL? I read about them and found following: HTTPS: HTTPS is a combination of HTTP with SSL/TLS. It means that HTTPS is basically HTTP connection which is delivering the data secured using SSL/TLS. SSL: SSL…
bayCoder
  • 1,345
  • 1
  • 11
  • 19
18
votes
8 answers

Protocols used to talk between an embedded CPU and a PC

I am building a small device with its own CPU (AVR Mega8) that is supposed to connect to a PC. Assuming that the physical connection and passing of bytes has been accomplished, what would be the best protocol to use on top of those bytes? The…
user3458
15
votes
3 answers

Implementation communication protocols in C/C++

I am in the process of starting to implement some proprietary communication protocol stack in software but not sure where to start. It is the kind of work I have not done before and I am looking for help in terms of resources for best/recommended…
dubnde
  • 4,359
  • 9
  • 43
  • 63
14
votes
3 answers

How does PDO know last inserted id in MySQL?

EDIT: This question title originally was: How does Doctrine know last inserted id in MySQL? and was related to Doctrine ORM mapper. After some digging I found out that this question is not related to Doctrine but to PDO_MySQL, MySQL C API and…
prostynick
  • 6,129
  • 4
  • 37
  • 61
11
votes
3 answers

In-process communication between wars in the same container

What options are there to achieve low-latency communication between two wars running in the same jetty-container? I basically need to call a service in one war from the other, but can't afford the overhead of calling it as a web service. Since they…
ebaxt
  • 8,287
  • 1
  • 34
  • 36
10
votes
5 answers

Objective-C networking - best practices?

I'm building an Objective-C app that has both a server and a client. The client can send updates to the server, and the server needs to be able to send updates to each connected client. I've been thinking about how best to implement this system, but…
Allyn
  • 20,271
  • 16
  • 57
  • 68
9
votes
2 answers

NACK and ACK responses on I2c bus

My recent project requires the use of i2c communication using a single master with multiple slaves. I know that with each data byte (actual data) sent by master,the slave responds with Nack\Ack(1,0). I am confused that how this Nack and ACK are…
amit kr
  • 117
  • 1
  • 1
  • 7
7
votes
1 answer

Real-world cross-platform decentralized asynchronous peer-to-peer communication

My knowledge about network programming is limited, so, all the comments are more than welcome. Essentially my question boils down to the following question: Q1. Is there really such a thing as decentralized asynchronous cross-platform peer-to-peer…
5
votes
2 answers

byte aligning in serial communication

So I am trying to define a communication protocol for serial communication, I want to be able to send 4 byte numbers to the device, but I'm unsure how to make sure that the device starts to pick it up on the right byte. For instance if I want to…
vanjoe
  • 439
  • 4
  • 12
5
votes
1 answer

SQL Server Shared Memory communication protocol usage

I read a lot of articles and answers of similar topics over the internet but didn't find the reason for my problem. I have a .NET 4 Windows Service connecting to SQL Server Express on the same machine. Only one time in production it happened to see…
Todor Petrov
  • 51
  • 1
  • 3
4
votes
4 answers

.NET two-way socket realtime communication protocol

I need to maintain a connection between a server and multiple clients so that the clients can send commands, and the server trigger events. The server is basically a music-player, and the clients send commands like "Play()", "Pause()",…
Alxandr
  • 12,345
  • 10
  • 59
  • 95
4
votes
1 answer

ratio of bits/hz of digitized voice channel

We need to transmit 100 digitized voice channels using a passband channel of 30 KHz. What should be the ratio of bits/Hz if we use no guard band? What I understand and get the bandwidth are : 30 KHz / 100 = 300 Hz And the ratio of bit/Hz if no…
anna
  • 79
  • 1
  • 9
4
votes
1 answer

tool to observe the .NET Remoting communication between applications?

We have problem with the communiction between two applications. According to the software providers, the communication is akind of .NET Remoting. We just want to verify which program first closes the communication, hopefully it could shed light for…
3
votes
6 answers

Communication between applications written in different languages

I am looking at linking a few applications together (all written in different languages like C#, C++, Python) and I am not sure how to go about it. What I mean by linking? The system I am working on consists of small programs each responsible for a…
Hamza
  • 2,313
  • 7
  • 25
  • 33
3
votes
0 answers

How do I teach my device to talk DeviceNet?

My boss is planning to implement DeviceNet on some of our products. I've looked through Google and odva.org but I can't seem to find any specific technical detail which tells me what and how I should do. Here is my amateur understanding after…
Wesley
  • 501
  • 7
  • 19
1
2 3 4 5 6