» Home » client » Page 1
Java: client, client, (threaded) server, streams client info, JPanel created but messages(?) block start of game
Category : Development Tools & Services

I am developing a small scale client1/ client2, server (threaded) TCP game. In trying to deal with latency issues I've realised there were flaws in my transmitState(). It was forcing unnecessary info down the comms streams creating sluggishness, leaving cars in different places in the JPanel, and was basically just wrong. So I took it out.

But in doing so I

View Replies

Java: Server/Client -> Client/Client
Category : Network & Servers

I want to set-up a peer to peer connection between some computers, so users can chat and exchange files without an external Server. My first thoughts were as follows:

I make a central ServerSocket on a server, where all applications can connect to. This ServerSocket keeps track of the connected sockets (clients), and gives the IP and Port of a new connected client to all other clien

View Replies

RMI calls not working when firewall present on the WindowsXP client, but fine on Windows 7 client
Category : Programming Languages

I am using the basic RMI-based client/server app shown in Java Tutorials. I am running the server and client on different machines. I also export the remote objects for both the server and client, and make them available to each other.

However, there is a firewall turned on the client side and so the RMI calls fail (from client to server or server back to client). Also, when

View Replies

Java Client unable to create event in google calendar without client library
Category : Development Tools & Services

I am trying to write a simple java client which can create an event in my google calendar WITHOUT using client side libraries.

Here is my code but I am unable to get dataoutputstream to send the event related details to the server :

URL siteUrl;
try {
System.setProperty("javax.net.ssl.trustStore", "/home/yashdosi/wso2esb-4.0.3/repository

View Replies

DAL/BLL and Client/Server: Should the client use BLL or DAL objects for presentation? Or maybe another layer (data transfer object?)
Category : Coding

I'm writing a client/server system. The server has a DAL/BLL design. The client is responsible for presenting the data objects and providing dialogs and wizard to allow the user to update these objects (i.e. adding/editing a user).

Initially I thought I'll just make the DAL objects have a universal data provider object so they can be used by the client as well as the server. For

View Replies

In Bootstrap Protocol, how does a client know if a hardware broadcast is intended for another BOOTP client on the same physical net?
Category : Programming Languages

When a bootp client receives a reply via hardware broadcast, how does it know whether the reply is intended for another BOOTP client on the same physical net?

View Replies

I have a Android REST Client, but no a web service implemented. What can I do to send to the client a set of images from a server?
Category : Android

The question is about how to perform a client-server communication for an android app.
The client uploads a image. The client is implemented using REST
But the server has to send a set of images. Which is the best method. Have any examples?
Later I want to represents these images in the android app.


View Replies

CXF SOAP request correct if sent from client on Ubuntu, wrong if client is on MacOs
Category : Development Tools & Services

I need your help to find a solution to the following issue related to CXF and Mac OS X Lion 10.7.3.

I have a client that perform request on a remote web service via CXF version 2.1.3.
All works fine when I deploy the client on Ubuntu 10.04.2 LTS with the following java version

java version "1.6.0_24"

Java(TM) SE Runtime Environment (build 1.6

View Replies

Apache Commons Http Client - Registering a client specific Protocol
Category : Programming Languages

I'm working on a library that is meant to be integrated in other applications. I have to communicate with a https server, and I'm using apache commons HttpClient 3.1. I have my own keystore and need to register a Protocol via: Protocol.registerProtocol. I was wondering if there was a way to register this for my specific instance of the client rather than statically - this way I d

View Replies

POST value associated with submit input type using django.test.client.Client
Category : Programming Languages

I'm trying to write a unit test for a Django view that involves submitting a form (written by someone else) that looks like this:

<form method="post" action="/oauth2/token" class="authenticate">
<input type="hidden" name="grant_type" value="authorization_code">
<input type="hidden" name="code" value="73c2c13e4957331f4183bdfafd1f1c">
<input t

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .