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
1
vote
1 answer

Communicate with RTMP server with C++ or Objective C application

Is it possible communicate with rtmp server with C++ or Objective C application, like flash player do this ? i know it must be possible because flash player was written on C++ and use C++ library. if you know how do this pleas show me code exemple…
Harry
  • 11
  • 1
  • 3
1
vote
0 answers

What is a good way to communicate between two local services that heavily depend on each other?

Scenario: I have two services/applications. Application A is a game server, which receives events from game clients. This application now needs to request information from Application B for certain information, such as registered users etc. It also…
rosengrenen
  • 731
  • 6
  • 21
1
vote
1 answer

Data communication between COBOL and C#

I would like to build a communication protocol between COBOL and C# applications. I didn't find the right way to connect these two applications. The only possible way is to write data by COBOL to a file and read it by C# application and vice…
john miran
  • 393
  • 2
  • 13
1
vote
3 answers

How Multiple slave to single master SPI software slave management works

I am using STM32H7 family of microcontroller as SPI Master Transmit device which needs to talk to 4 SPI slave devices receive only which are also all STM32H7 MCU's. Both master and slave are configured for software slave management. The confusion…
A 786
  • 488
  • 1
  • 6
  • 16
1
vote
1 answer

Read data from Mitutoyo gauge

I need to write a program that will read the data from the indicator once a minute. Unfortunately, I can not find the communication protocol for this indicator (the official representative responds extremely unqualified and there is no way to get at…
1
vote
0 answers

Communication table implementation

I have been working on embedded software. One of the requirements is also communication over CAN via proprietary protocol. The core of the communication protocol is a communication table which contains all the communicated variables. Each variable…
Steve
  • 805
  • 7
  • 27
1
vote
0 answers

Sqltabledependency can't reach the machine to fire event

recently create a program for detect when ona table in database is changed using sqltabledendency, but when i want to put the consume code in QA ambient, whit another segment of red, this consume program never be fired, because the…
1
vote
1 answer

IEEE 802.15.4 Superframe Structure Slot alignment reason

Consider IEEE 802.15.4 Protocol superframe structure (Image Src: Google) IEEE 802.15.4 Superframe Structure In this structure Contention Access Period(CAP) is always followed by Contention Free Period(CFP). So is there any particular reason behind…
abhi195
  • 55
  • 1
  • 1
  • 10
1
vote
1 answer

Sequence diagram for sending requests to JSON API and for using an SMTP Server?

I have developed a web application that sends HTTP requests to a JSON API and gets responses from it. It is also sending E-mails via an SMTP server to users. I am stuck on how to modelise these scenarios in my sequence diagrams. Edit: The sequence…
1
vote
1 answer

ioctl errorno: 25 in GPIB communication using python-gpib

I am trying to communicate with a Tektronix oscilloscope TDS 210 using a GPIB-USB-HS adapter of National Instruments. My system is Ubuntu 14.04.3 where I installed linux-gpib as described in this link: Linux GPIB Driver package (source) and also…
VML
  • 11
  • 2
1
vote
1 answer

OPC UA data packet format

As OPC UA works on top of TCP/IP, so the data packets format would be the same as that of TCP/IP or it will have different? I am interested in studying the data packets of OPC UA and its format and compare with MQTT data packets. If somebody has…
Azaksai
  • 377
  • 2
  • 6
  • 14
1
vote
1 answer

Memcache textual protocol cheatsheet?

Memcached interface is implemented using a textual protocol. Sometimes it's very useful to be to fetch data stored on your remote server simply by invoking netcat with some shell kung fu, for example: To download the XML result of your nightly data…
Maxim Veksler
  • 29,272
  • 38
  • 131
  • 151
1
vote
3 answers

Python sockets, how to escape from infinite loop and handle exceptions

I have a script that connects to a remote server. The code is below s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((remote_host,remote_port)) s.setblocking(False) while True: try: data = s.recv(1024) if not…
mikip
  • 1,677
  • 6
  • 25
  • 35
1
vote
4 answers

Data serialization

I've got an Objective-C/cocoa based application that I'm working on. This app is client<->server. Currently, the communcation protocol is based upon some fairly simple XML. While XML works for this task, it is not ideal in any aspect. It's a pain to…
Allyn
  • 20,271
  • 16
  • 57
  • 68
1
vote
1 answer

Whether to use WebSocket or Server Sent Event for sending notifications from server which retrieves social network presence in realtime?

i want to develop a webpage which retrieves from server and shows online presence information of user's contact from various social sites like facebook, google & skype, linked in real time should i use WebSocket or Server Sent Event (SSE) ? The web…