client-server

First time using select(), maybe a basic question?

Hello people, i've been working for a few days with this server using select(). What it does, is that, i have two arrays of clients (one is "suppliers", and the other is "consumers"), and the mission of the server is to check whether the suppliers have something to send to the consumers, and in case affirmative, send it. The second par...

Not able to connect Android client with local XMPP server.

Hi This is with regards to post here I am able to connect my PC to the local tigase server setup locally(I am using Smack API). Now I am facing problems when I want to connect Android Phone to that server over Wi-Fi. I am able to connect to the local server by using client Beem for android.My XMPP Domain name of the server is my PC name...

GPL and hosted services

As I understand it GPL says you only have to distribute derivative code for works you distribute, i.e. if you develop internal software you can keep your code private. What happens if you develop a server application, say like Facebook or StackOverflow? The server app is not 'distributed' so what's the situation with your code in this c...

What goes between SQL Server and Client?

This question is an updated version of a previous question I have asked on here. I am new to client-server model with SQL Server as the relational database. I have read that public access to SQL Server is not secure. If direct access to the database is not a good practice, then what kind of layer should be placed between the server and...

How to create a cross-plataform application, doing the interface modules (Mac/Qt/GTK+) in a totally independent manner? (Like Transmission)

I'm amazed at Transmission, a BT client. It has a Mac, a GTK+, a QT, a Web Client and a CLI interface to it. I tried reading some of it's source to understand how he creates all these interfaces, but no luck. Does the developer creates them using a single ide? Or does he create the interface logic in each specific environment (speciall...

client-server application design

Hi, i want to create a client-server application using sockets on .net platform and being new to networking programming and i have a dilemma. The client will send data to server often and also the server will notify clients often. What is the best way to design it? should the server keep a thread to communicate with each client until it ...

What is the best Networking implementation for my application?

I am in the planning phases of a project for myself, it is to be a single and multi-player card game. I would like to track statistics for each person such as world rankings etc... My problem is I do not know the best approach for the client - server architecture and programming. My original goal was to program everything in C# as I w...

Can maven-2 help me create Java client-server app?

I am Java and Maven newbie and I want to create a simple client and server app in Java which will communicate trough sockets. I read a little about Maven, and I managed to create Hello World example using: mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -Dinteract...

Microsoft Sync Framework between Sql Server(Client) to SQl Server (Server) with change tracking possible?

I want to realize an offline scenario where client and server are SQL Server databases. Preferably with SQL Server Change Tracking. Is that possible and a reasonable option at all? From trying out it seems to me the only sql server to sql server sync is in collaboration mode and doesn't leverage sql server change tracking. (SqlSyncProv...

How to work with UDP in Android?

I a very new to Android. I need to make a connection with an UDP server by using my Android UDP client. Now I need to know how to work with UDP in Android? Please guide me to do this. ...

sending file to another active directory user using c#

Hi, I have set up a system with a Client-Server architecture. Problem: Sending daily log data from the client application to server. Both the client and server are on an internal network. Possible Methods... 1) Using Socket Programming 2) Sending over Active Directory (if possible) Please suggest some methods (apart from http) and ...

Are there any tutorials on using sockets for client/server connection with Google App Engine for Java services?

Are there any tutorials on using sockets for client/server connection with Google App Engine for Java services? ...

Transmitting commands from a client to a server in Clojure/Java

I'm working on Clojure app where a client needs to send some commands to a server. These will happen in quite large volumes, so I'd like it to be reasonably efficient, both in terms of processing and over-the-wire serialised size. What would be the best way of doing this in Clojure? Currently I'm thinking of: Creating a simple standa...

Simple client / server concept for .NET

Hey everyone I want to implement a simple cardgame in silverlight that can be played together via a server. My question is, what concept for communication between client and server I should use. Is it possible to use WCF to implement the server ? I guess no because its more like a dataprovider right ? or do I need to use .NET Remoti...

stunnel client accepts connection even when stunnel server is down?

I'm using stunnel 4.26 in windows environment to encrypt database traffic between web server and Oracle database. In general it works but I've got couple weird issues and I was wondering if somebody would know answer for it. So I have a web server machine where I run stunnel in client mode. With connection parameters like [SOME NAME] ...

RFC: What's a good approach to remotely edit very large binary files?

I have a number of rather large binary files (fixed length records, the layout of which is described in another –textual– file). Data files can get as big as 6 GB. Layout files (cobol copybooks) are small in size, usually less than 5 KB. All data files are concentrated in a GNU/Linux server (although they were generated in a mainframe)....

Very large HTTP request vs many small requests

I need a 2D array(as Json) to be sent from server to client. It would be around 400X400 in size with each entry around 4 characters of text. So that makes it around 640KB of data. Which of the following extreme approaches is better ? 1) I make a large HTTP request of all the data at one go. 2) I make 400 requests - each asking for a si...

Very large HTTP request vs many small requests

Possible Duplicate: Very large HTTP request vs many small requests I need a 2D array(as Json) to be sent from server to client. It would be around 400X400 in size with each entry around 4 characters of text. So that makes it around 640KB of data. Which of the following extreme approaches is better ? I make a large HTTP requ...

what type of network programming is necessary in iPhone online multiplayer game ?

Hi all , I am asking this question as a small part of my question series regarding game programming . Refer this question as the main one . Now suppose I want to develop a game on iphone - a simple online multiplayer board game. Suppose its a casino table. In the main question ChrisF has tell me of sort of Client - Server architectu...

Best Visual Studio solution/project structure for client/server project with a shared model

Hi, I am curious what the preferred way to structure an application with an executable client program, an executable server program and a shared model in solutions and projects (using visual studio and C#). Being used to Java development I initially regarded projects as packages and defined a project for each package I designed. This r...