The client-server model is a centralized model, in which a server performs a specialized service (such as HTTP, SMTP, etc.) for multiple clients on request.
0
votes
2answers
3k views
Tablet(iPad/Android)-Server Communication Protocol
I am going to build a client-server application. The client here is an iPad (or an android-based) tablet. The server is a normal pc. Both the clients and the server are connected to the same network ...
59
votes
3answers
14k views
Client-server synchronization pattern / algorithm?
I have a feeling that there must be client-server synchronization patterns out there. But i totally failed to google up one.
Situation is quite simple - server is the central node, that multiple ...
35
votes
4answers
23k views
How do multiple clients connect simultaneously to one port, say 80, on a server?
I understand the basics of how ports work. However, what I don't get is how multiple clients can simultaneously connect to say port 80. I know each client has a unique (for their machine) port. Does ...
27
votes
6answers
13k views
Socket.IO Client Library in Python
Can anyone recommend a Socket.IO client library for Python?
I've had a look around, but the only ones I can find are either server implementations, or depend on a framework such as Twisted.
I need a ...
7
votes
3answers
16k views
Maximum number of concurrent connections on a single port (socket) of Server
What could be the maximum number of concurrent Clients(using different port number) that could communicate to a Server on the same port (Single socket) ? What are the factors that could influence this ...
9
votes
5answers
2k views
The AJAX response: Data (JSON, XML) or HTML snippet? [closed]
I'm just wondering what is an "ideal" output format for the AJAX response? Pure data (JSON, XML) rendered into the page using some client-side JavaScript template engine? Or an HTML snippet rendered ...
2
votes
2answers
5k views
How to implement communication between Java client application (Android) and PHP server application?
I have a simple Java client application (Android app). I have to write a PHP server application which receives a request from the Java client application to write some data to a MySQL database or read ...
-1
votes
1answer
146 views
Java server multithreading [closed]
How to implement a multi-threaded server in Java? where the server listens for a port (for example 5000) and serves the connection in a separate thread and keeps listening for more clients.
15
votes
4answers
8k views
Multi-client, async sockets in c#, best practices? [closed]
I am trying to gain a better understanding of tcp/ip sockets in c#, as i want to challenge myself to see if i can create a working MMO infrastructure (game world, map, players, etc) purely for ...
2
votes
2answers
10k views
Asynchronous server socket multiple clients
I have been working with the following code published on msdn:
http://msdn.microsoft.com/en-us/library/fx6588te.aspx
I understand that the server application is not blocked whilst the application is ...
8
votes
5answers
8k views
Reliable way of generating unique hardware ID
Question: I have to come up with unique ID for each networked client, such that:
it (ID) should persist once client software is installed on target computer, and should continue to persist if ...
11
votes
2answers
1k views
Synchronizing client-server databases
I'm looking for some general strategies for synchronizing data on a central server with client applications that are not always online.
In my particular case, I have an android phone application with ...
10
votes
4answers
2k views
What is the best way for a client app to find a server on a local network in C#?
The client connects to the server using GenuineChannels (we are considering switching to DotNetRemoting). What I mean by find is obtain the IP and port number of a server to connect to.
It seems ...
8
votes
2answers
1k views
close() is not closing socket properly
I have a multi-threaded server (thread pool) that is handling a large number of requests (up to 500/sec for one node), using 20 threads. There's a listener thread that accepts incoming connections ...
5
votes
4answers
3k views
Java: Sockets or RMI?
I need to separate our application into a light-weight gui application and a business logic application. This won't be a client/server setup as such, as the 'server' component will only have one ...