client-server

Is there a WebSocket client implemented for python?

I find this project: http://code.google.com/p/standalonewebsocketserver/ for a websocket server, but i need implement a client of websocket in python, more exactly i need receive some commands from xmpp in my websocket server ...

Stream a song on an iphoe to another iphone?

Hi, Is it possible to write an iphone app that allows a user to pick a song (located on their iphone) and have it play out on an another iphone based on a client-server type relationship over a wifi connection? Thanks for your help, Lee ...

Does anybody still use Client Server Architecture

I have been writing software for several decades now and these days everything is web. Before the web we had Client Server apps that were basically thick client applications that spoke directly to the database. They had some disadvantages, such as deployment was cumbersome, Did not scale because DB handled all traffic. Of course back th...

Sync Framework vs Web Services to load a lot of objects

Our WCF web services are not being consumed by any other service, and we highly doubt that they will be. Currently we are only loading about 30 5k objects and have been using web services with success. At this point we are looking at scaling this to support 1,000 objects. Only about 20 will change at any one time. We have a few options...

Why is the Asynchronous mode is better than the Synchronous one when handling clients requests ?

I have a client-server project and was searching for the better way to handle the requests from the clients so some people adviced that the Asynchronous mode is better than the synchronous one and the thread pool mode. My question is why ? and is there a disadvantages in the Asynchronous mode ? ...

How to: Send JSON structure to server and return file in ASP.NET

I'm having a very hard time wrapping my head around this problem (it might be the heat from the summer finally arriving). Problem: I want the user to press a button client side which performs javascript data preparing and at last send a JSON structure to (currently a asmx webservice on) the server. The JSON structure is several levels d...

Cant "get" streams from server

Hi guys, I am trying to make a simple Client-Server application but when I execute the code I get an exception that the client cannot get the socket's input stream.Please, take a look to my code and try to help.Thanks:) P.S:Sorry for the messy code.Execute it as two different applications. import java.io.IOException; import java.io.Ob...

Any good client-server data sync frameworks available for iPhone?

I'm just getting into the client-server data sync stage of my iPhone app project, and have managed to get my CoreData data model loading on both the iPhone client and my TurboGears server (which is good). I'm now beginning to tackle the problem of sync'ing data between the server and multiple clients, and while I could roll my own, this...

Need More information about client/server windows application

Hi , I am going to program windows application with c# and SQL server 2000 The Program use one central Database and all other versions of the program running on other computers in local network use this central Database on the server computer But i have no idea about how to implement client/server application After a lot of searches ...

Java client/server configuration and security across domains

I'm trying to set up an application server to run a simple website and a Java client application that needs to communicate back to a Java server. What I'd like to do is the following: Website/web application server at http://www.mydomain.com Applet and/or Java Web Start jar at http://files.mydomain.com Server listening on some port at...

How should I capture clickstream data?

I'd like to start using clickstream analysis to improve a dynamic site's user experience. I'd like to rule out two options: parameterizing URLs (index.php?src=http://www.example.com) and immediate database logging. The former makes pretty ugly URLs and isn't great for SEO and the latter might slow down page render when there are lots of ...

Write a client-server program in C ... on a sheet of paper.

This was an actual interview question. o_O Let's leave aside the issues of asking such a question in an interview. I'm wondering what alternatives to the ol' TCP sockets approach are readily available (as libraries, for instance), for use in C or C++. I'm making no assumptions on platform, compiler etc - take your pick. I'm not as...

Simple multithreaded server in C++?

I want to write a simple server application that will take commands from a client application and run those commands in separate threads. I was looking at the server class in dlib. Does anyone have experience using this? How does it compare to using Boost's Asio? Example of server in dlib Examples of client/server in Boost Asio ...

Will an MS Access back-end for a client server application have transfer speed problems?

If I use MS Access in the back-end of a client-server type software and the database file is sent from client to server, will it create any problems in further database handling, transfer speed, or performance compared to SQL Server? ...

How to achieve interrupt-driven communication from server to client with servlets?

Hello, we wrote in C++ a screen sharing application based on sending screenshots. It works by establishing a TCP connection btw the server and client, where the server forwards every new screenshot received for a user through the connection, and this is popped-up by the client. Now, we are trying to host this on google app engine, and...

Client Server Application using C# and SQL

Hello Friends, I have developed a desktop application using C# as frontend and SQL as backend. But one of my client wants to buy it if the software is able to operate from multiple computers and a common database must be placed on one main computer (server). Hence I wanted to know, If the already developed application can be configu...

secure web server asp.net

I have a graphical user interface for my company product. I want to secure the data being sent back and forth between client and server. Is SSL one of the options? if yes, Please can some1 tell me the steps on how to implement it in my application code. Do i need to buy the certificate or can i make it.. which is the best choice? Any...

Server abort when client tries to reconnect

I have a c# client talking to a C++ TCP Server on Linux using boost. The client is able to send/rcv messages from the server but when I close the client and restart it again, the server abort. I am new to boost so any help would be great. Below is the code of my server. void TcpServer::handle_accept(Client* new_client, const boost::sys...

Automated test of client/server application

As the headline says, how would you test a client/server application, that is written in C/C++, that talks through a protocol over a network? Im a bit confused on how to do this. I have thought about making some mocking, but I have never tried mocking, so I dont know if this is the best way. How should I do this? I have written many unit...

What communication protocol would you recommend?

I'm about to design a client application and the server part is not designed either. I need to decide on the communication protocol. The requirements are: fast, compact supports binary file transfer both ways server is probably PHP, client .NET So far I have considered these: custom XML over HTTP - I've done this in the past, but...