Questions tagged [communication]

Communication is the activity of conveying information.

Communication (from Latin "communis", meaning to share) is the activity of conveying information through the exchange of thoughts, messages, or information, as by speech, visuals, signals, writing, or behavior.

Source: http://en.wikipedia.org/wiki/Communication

2464 questions
19
votes
2 answers

Developing two android apps and communicating between two

I am developing two applications names A and B. Application A as activity named MainActivity, service called UpdateService, BroadcastReciever called UpdateReceiver. Application B as activity named TestActivity, service called DoService,…
user1810931
  • 638
  • 2
  • 11
  • 33
18
votes
4 answers

Communication between C# applications - the easy way

I have two C# programs and I want to send some data back and forth between them. (And check if the data arrived to the other application.) The two programs will always run on the same computer, so no networking capability is required. I've already…
Miklós
  • 223
  • 1
  • 2
  • 9
18
votes
9 answers

What is the easiest way to do inter-process communication (IPC) in C#?

I have two C# applications and I want one of them send two integers to the other one (this doesn't have to be fast since it's invoked only once every few seconds). What's the easiest way to do this? (It doesn't have to be the most elegant one.)
genesys
  • 201
  • 1
  • 3
  • 5
17
votes
11 answers

How do you get non-technical folks to appreciate a non-UI problem?

Suppose you're working on an enterprise project in which you have to get management signoff in order for you to develop a new feature set. Usually your management has no problem signing off on some bright shiny new UI feature. Unfortunately they…
Alan
  • 7,066
  • 5
  • 30
  • 38
16
votes
3 answers

Choosing buffer size for FTP and HTTP transfers

How does one choose the size of a buffer (bytes I read from or write to socket) for the maximum throughput when implementing a low-level HTTP and FTP transfer? My application should transfer data with HTTP or FTP on connections varying from 130 Kbps…
wasker
  • 1,959
  • 2
  • 19
  • 32
16
votes
7 answers

How does jdbc work

can anyone tell me How does jdbc work? How it manages to communicate with a DBMS? since DBMS may be written with some other programming language.
pavlos
  • 169
  • 1
  • 1
  • 3
16
votes
1 answer

Is it possible to send file contents to a GNU Screen session?

I'm connecting to a development board over a serial port like so... screen /dev/ttyUSB0 9600 I'm connected to a bootloader now, and it is asking me to send a file in SREC format. I have the file, but how can I send it over the Screen session?
Anthony Green
  • 643
  • 1
  • 4
  • 9
16
votes
2 answers

GUI and windows service communication

I know since Vista, that C# can't hook a UI form directly to the windows service. This was stated on the Microsoft Site. My question in this regard is: "What is the best mode of communication from a UI to the service?" I have heard of Remoting, Web…
Stéphane
  • 306
  • 1
  • 2
  • 7
15
votes
4 answers

C++ How to make two programs communicate?

Question: What is the best way to make two programs (both running on the same computer) communicate and interact? (Windows, C++) Theoretical situation: On a Windows PC, I have a 3rd party software that you use to do stuff (like open/edit/save…
Jake Wilson
  • 88,616
  • 93
  • 252
  • 370
15
votes
6 answers

How does the Hamming code work?

When transmitting data, the Hamming code apparently allows you to recreate data that has been corrupted over the wire (an error correcting code). How does this work and what are its limitations, if any? Are there any better solutions for error…
paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953
15
votes
2 answers

How can a WCF service listen the same port as IIS?

I could run a Windows Service hosted WCF service listening http://localhost:80/MyService while IIS was serving pages on http://localhost:80 and both works. But many places in the internet (like this and this) say that only a single process can…
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
15
votes
4 answers

USB communication between Android (accessory mode) and Windows PC (host)

I try to make an USB connection between my notebook (win7) and my android phone (Android 4.2). The notebook should act as host to power the android phone. The goal is that notebook and phone can send and receive xml strings I tried to follow the the…
B770
  • 1,272
  • 3
  • 17
  • 34
14
votes
4 answers

Transfer large data between .net applications on same computer

I have two .net applications that run on the same machine. The first application is the 'Engine'. It builds images - image's size is about 4M. The second applications is the 'Viewer'. It shows the images which the 'Engine' sends. The engine sends…
MTs
  • 514
  • 5
  • 13
14
votes
3 answers

OPC UA protocol vs MQTT protocol

I would like to compare OPC UA vs MQTT on basis of the general characteristics of both the protocols such as Overhead (Packets), Security, Information modeling and Reliability. Where can I find some sample data for Overhead, and other…
Azaksai
  • 377
  • 2
  • 6
  • 14
14
votes
2 answers

Communication between C++ and Python

I am looking for an efficient and smart way to send data between a C++-program and a Python-script. I have a C++ program which calculates some coordinates in-real-time 30Hz. And I wanna access these coordinates with a Python-script. My first idea…
erling
  • 411
  • 2
  • 5
  • 14