Questions tagged [server-communication]

A way in which data is sent either to or from a server. This data will be sent using a standard protocol that abides by the standards provided by the w3c

47 questions
7
votes
2 answers

Java class, Arraylist with multiple types

i'm new to Android & Java and have a question regarding my server-app-communication. My server always returns a JSON output with "Code", "Message" and "Data". Like this: e.g:…
Michael
  • 71
  • 3
3
votes
1 answer

Designing class for handling multiple communication protocols handling

I am developing a C++ application which should handle multiple communication protocols (Ethernet, Serial, etc.). Each of the communication protocols is handled as a specific class. In order to expose as little as possible information about the…
3
votes
1 answer

Is my case apt for using ZeroMQ?

I'm trying to implement a communication system among a variety of devices connected through WiFi. A Desktop ( Mac / Win / Linux ) serves as a server, whereas mobile phones ( Android / iPhone / Blackberry ), say 50 in number, will be clients. There…
Revaapriyan
  • 309
  • 2
  • 4
  • 20
3
votes
1 answer

How does multi player communication work from a client to a poker server?

I just started to work with client-server communication and I created a poker game that works on Android and iPhone and connects with a C# server. Right now I'm using PubNub to send and receive messages but there are either one of two problems with…
Westerlund.io
  • 2,743
  • 5
  • 30
  • 37
3
votes
2 answers

How to determine end of read

I have simple C server and Java client. I'm sending text file line by line from server to client: do { send(sockfd, line, strlen(line), 0); printf("%s\n", line); } while ((fgets(line, 100, fp)) != NULL); and read it in…
Stepan Tuhacek
  • 219
  • 5
  • 18
3
votes
4 answers

Syncing with server

I've been developing for Android for some time now and currently working with syncing with my server. Quick introduction: I've read about Sync Adapter and do know its role but I just want to know if it's my best option. In my app user can click on a…
user2558461
  • 281
  • 1
  • 6
  • 21
2
votes
1 answer

Best Practice in designing a client/server communication protocol

I am currently integrating a server functionality into a software that runs a complicated measuring system. The client will be a software from another company that will periodically ask my software for the current state of the system. Now my…
Michael Küller
  • 3,982
  • 4
  • 22
  • 42
2
votes
1 answer

The communication object cannot be used for communication because it is in the Faulted state

I am using WCF service with Winform client. I am creating a data cache by calling WCF service multiple times. one of my service call is failing because of error... The communication object,…
Abhash786
  • 881
  • 2
  • 24
  • 53
2
votes
2 answers

Communication between iPhone app and AWS server

tldr; How do you get a program on an AWS server to continuously listen for data packets? I want to build an iPhone app that collects sensor data and sends that data to a server. When the server has enough sensor data, it constructs a classifier from…
Rainmaker
  • 1,181
  • 2
  • 11
  • 11
2
votes
3 answers

Reachability not working

I am currently writing a game which needs an internet connection (TCP to server). I'm attempting to utilize the Reachability class from Apple, but it doesn't work. I'm new to NotificationCenter and Reachability, so please excuse me if this is a…
2
votes
2 answers

What options are there to allow one server to send information to another server?

I have two web hosts. One with a standard shared hosting provider, and the other: AWS Free Tier. I would like for these two servers to be able to communicate with one another. Basically, I would like the shared server to send some information to the…
dlaser
  • 1,295
  • 1
  • 11
  • 15
2
votes
0 answers

Can anyone please explain how facebook/Gmail android applications send and receive data with server

Am new to Android i would like to know how some apps like facebook and Gmail etc., applications perform the background process while hitting the server for request and response to improve the performance of the app. generally to call a server i use…
B Bhanu Chander
  • 619
  • 2
  • 6
  • 17
2
votes
1 answer

IPhone creating a chat application

I want to create a chat sort of application on the iphone. I know how I would go about implementing a poll model, where the iphone would poll the server to see if any messages have arrived and if they have it can retrieve them and show them to the…
Daniel
  • 22,363
  • 9
  • 64
  • 71
1
vote
0 answers

Best way to create communication between servers

I have a question about the most efficient way to create an effective communication layer between different servers and what sort of way I should approach this, I am quite new to networking so I'm just trying to wrap my head around which way to…
1
vote
2 answers

How to build a desktop app from a web app whilst being able to capture the communication with the server?

I'm trying to transform a web application to a desktop one without rewriting the code. Two solutions I found that seem promising are Qt with WebEngine (WebView) and Electron. The thing is I would like to be able to capture the communication with…
1
2 3 4