client-server

How Polling mechanism can be realized with RMI?

Hi! Following the design/architecture i created for multiuser/network turn-based game with RMI server callbacks, I have tried to create a distributed animation in which my model(Ball) is remote object and it updates the clients via callback mechanism from server. The current situation of code is : The model remote object, which is it...

input validation on client side

what are the advantages of validation on the client side using a client side script such as Javascript? thanks ...

Client Application Communication with Application Server

We're creating a client-server model that communicates with an application server (Java clients, RoR server). We have a few options for the actual data that is going to be communicated: XML Communication that actually paints the client's screen (a la web-browser) Communicating just data/permissions/etc. through XML (Entire UI is held ...

Using HTTPS for the client-server communication

Hi, I would like to use the HTTPS to secure the communication between my client and the server. The first encrypted communication will be used to authenticate the user - i.e. checking his/her user name and password. After the user credentials will be successfully checked by server I would like to start getting some data in subsequent...

Using own Java software´s custom update implementation

I have a server, and Client that are working fine, they transfer file to each other and handle commands with success. The thing is that once connected to the server, the server can ask the Client to update itself. Since I did everything using sockets with a TCP connection, and I am NOT able to use java web start, I am looking for a way ...

C#: SSL with SocketAsyncEventArgs?

Hi, I'm developing a socket server using C# .NET. I'm using the async model provided by the SocketAsyncEventArgs class, because it must be a high performance server to support many connections in short periods of time. Next, I want to secure the communication between clients and server, and I think I could use SSL. Is there any way of...

Using HTTP port to evade firewall

I'm creating a client-server application which communicates via a custom socket protocol. I'd like the client to be usable from within networks that have a restrictive firewall (corporate, school, etc.). Usually this is done by connecting via HTTP, since that's always available. If I want to do that, do I really have to use HTTP or is i...

Code examples for simple game servers

Hello. I'd like to build an iPhone game for the Game Center and am currently researching the server part of it all. I learn best by example and I'm having a hard time finding any examples of simple game servers that demonstrate... How data is formatted and sent to the server and how it is received How to authenticate the data that is...

Designing live video stream for wxWidgets

In my application we will present the video stream from a traffic camera to a client viewer. (And eventually several client viewers.) The client should have the ability to watch the live video or rewind the video and watch earlier footage including video that occurred prior to connecting with the video stream. We intend to use wxWidge...

Android, Bad Socket Exception (SOCKS)

I tried to connect to a server through a SOCKS server in an Android client app (Android OS 1.5 and 1.6) with below snippet code: Proxy proxy = new Proxy(Proxy.Type.SOCKS, new InetSocketAddress(Constants.SOCKS_PROXY_HOST, Constants.SOCKS_PROXY_PORT)); socket = new Socket(proxy); InetSocketAddress dest = new InetSocketAddress...

Javascript saving xml using Ruby on Rails

Hello, First, what I am trying to do is: I am trying to create a browser application that works on clientside. The basic idea is the user uploads a xml file into javascript. Javascript does calculations on this data and displays results onto the browser. The user is able to interactively edit the result (something like an image/video) ...

Looking for a network-accessible hash table

I have a data acquisition application broken into a client and a server. The server is reponsible for grabbing data from the hardware, running some realtime analysis, and recording the data to disk when it's asked. The client is a GUI that the operator can use to look at some pretty graphs (generated by the server), set some parameters...

Problem moving multiple balls with RMI ?

Dear Experts, I am working on a distributed animation of moving BALLS with RMI. My goal is to move multiple balls in a way, so that multiple clients observe the same movement/position of balls, i m using ball object which is remote object. The ball is moving fine, when it is only one, but when i m trying to increase the number of bal...

Messaging: Lots of RemoteServices methods or Unique message builder/interpreter?

Hey guys, I'm using GWT to code a simple multiplayer board game. And while I was coding the question came up to my mind: At first I though my client could simply communicate with the server via RemoteServices calls, so if a client wanted to connect to a game he could do as follows: joinGame (String playerName, String gameName) And t...

Good Ajax book for a PHP guy?

I have a background in assembly, basic, pascal, ada, c & c++. All pc or embedded stuff. Decades of it. I also have a few years of PHP. I haven't coded any client-side stuff, and think that I would like to look into Ajax (is that the best compliment to PHP?). What's a good book to start me off? ...

ASP.Net handler request stack

I've got a slightly odd requirement that I'm not sure how to properly articulate. I essentially want to prioritise the most recent requests to an ASP.Net handler. I'm not sure if this should be client-side or server-side. I'm leaning towards server side to ensure it's enforced on all clients. So, as requests come in, they're essentiall...

How communication happens between webserver and webclient?

I had posted one question here I solved the problem but little confuse about reason. Question was webBrowser control in .net was not displaying images. Moreover, If I press Ctrl+N, it opens same page in external IE browser. all images are displyed properly there. Once I do this step and then after, when webBrowser Control refresh page a...

Client-Server-Framework

Hi, I'm looking for a java framework to build a client-server application. There are many out there but what I have seen until now, they are all in the relational db, bean, browser area (these main components are not requiered for me!). Is there a light framework for a server which just focuses on client sessions, security (authenticati...

Edit office document on server

Hello, We are going to develop a client-server application where all the office documents will be stored on the remote server. The problem is that users need to edit these docs very often. The standard solution is: download edit locally upload But it is very inconvenient and would cause high traffic, cause docs are very large. Is t...

ServerSocket accept() not accepting connections on Android

Hi, I am trying to setup at ServerSocket on my Android phone, and send a char or int or anything from my computer. The code on the phone creates a ServerSocket and then blocks whilst waiting for a connection: ServerSocket serverSocket = ServerSocketFactory.getDefault() .createServerSocket(4444); Log.d("Host...