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
14
votes
2 answers

EventAggregator vs CompositeCommand

I worked my way through the Prism guidance and think I got a grasp of most of their communication vehicles. Commanding is very straightforward, so it is clear that the DelegateCommand will be used just to connect the View with its Model. It is…
Thorsten Lorenz
  • 11,781
  • 8
  • 52
  • 62
14
votes
3 answers

Communication between two iOS devices

I am looking for a way to have one iPhone app send a message to another app on a different phone (sort of like a Sender-Receiver set up). I am looking for the best possible way to do this. Does anyone have any ideas and/or tutorials? Thanks for the…
user1205480
  • 161
  • 1
  • 1
  • 4
13
votes
3 answers

Sending TCP data from Android (as client) - no data being sent?

I'm trying to send data from my Android app to my PC over TCP. The code is as follows: Socket socket = new Socket("10.0.78.75", 50505); OutputStream out = socket.getOutputStream(); PrintWriter output = new PrintWriter(out); …
J J
  • 1,550
  • 4
  • 17
  • 27
13
votes
4 answers

How to set the baud rate for Macs in a terminal

Is it possible to set the baud rate for Macs in a terminal? If yes, how to set the baud rate in terminal through the terminal? I am trying to talk to the Mac using an Arduino (open source microcontroller), an XBee (wireless communicator) to type in…
luca590
  • 460
  • 2
  • 5
  • 25
13
votes
1 answer

Socket vs HTTP based communication for a mobile client/server application

I've recently decided to take on a pretty big software engineering project that will involve developing a client-server based application. My plan is to develop as many clients as possible: including native iPhone, Android and Blackberry Apps as…
Casey Flynn
  • 13,654
  • 23
  • 103
  • 194
13
votes
2 answers

Android Client Server communication

I have an application in Android which get latitude and longitude from GPS. I want to send these lat and long to server at particular port and want to receive the response of server into my Android application. Kindly give the direction so that I…
Siddiqui
  • 7,662
  • 17
  • 81
  • 129
13
votes
2 answers

Android Fragments fundamentals: why? Is this conceptually wrong?

I have a question about "proper programming" in Android. I am currently developing an app using fragments. It involves dynamically added fragments to Activity, fragments inflated from XML, nested fragments from XML or dynamically added. Let's just…
FrancescoC
  • 1,058
  • 10
  • 19
13
votes
2 answers

Calculating modbus RTU 3.5 character time

am new to Modbus and developing an application using Modbus RTU. I would like to know how to find out the RTU message frame separation time. In the Modbus RTU specification, It mentions 3.5 chars time, but there is no more data about how i can…
user3128453
  • 131
  • 1
  • 1
  • 4
12
votes
2 answers

How to calculate packet time from latency and bandwidth

I have a link between a host and a switch. The link has a bandwidth & a latency. How to calculate the time of 2 packets(with size 1KB) to be transferred from Host A to Switch 1? Here's the diagram(I am talking about the first link) Note: I just…
MhdSyrwan
  • 1,613
  • 3
  • 19
  • 26
12
votes
3 answers

A way to convert byte stream to packet stream in C89 on an embedded device

I’m working on with an embedded device that is connected to PC using rs232 (rs232 over USB). I’m thinking about developing my own protocol: but I don’t want to reinvent the wheel. Please note that: I'm thinking…
Piotr Czapla
  • 25,734
  • 24
  • 99
  • 122
12
votes
8 answers

Most efficient format for transferring data to and from embedded devices

I'm having hard time to choose the format on which my server and my end points will communicate with. I am considering: JSON YAML Too hard to parse CSV Google Protobufs Binary packing/unpacking (with no use of casting/memset/memcpy to enable…
the_drow
  • 18,571
  • 25
  • 126
  • 193
12
votes
3 answers

android communicating two apps in separate devices

All the questions here point to classes of the same app or different apps in separate processes yet in the same device. I would like to send data to and from two separate apps in two separate devices. I tried using broadcastreceiver but it didn't…
The_Martian
  • 3,684
  • 5
  • 33
  • 61
12
votes
11 answers

Intensive programming reduces communication skills?

This is one of those meta-programming questions that may or may not belong on SO, but here goes... Have any other programmers out there noticed that their ability to communicate with people (technical or otherwise) almost disappears during and after…
aaaidan
  • 7,093
  • 8
  • 66
  • 102
12
votes
2 answers

XMPP vs SIP Comparison

i will start a new project. In this project i have a server and many clients (over 100000). Clients and the server continuously will communicate with each other. They use only text messages. I think, It is too hard to manage with tcp socket so I…
Zapateus
  • 516
  • 3
  • 8
  • 21
12
votes
1 answer

Python os.pipe vs multiprocessing.Pipe

Recently I'm studying parallel programming tools in Python. And here are two major differences between os.pipe and multiprocessing.Pipe.(despite the occasion they are used) os.pipe is unidirectional, multiprocessing.Pipe is bidirectional; When…
laike9m
  • 18,344
  • 20
  • 107
  • 140