I'm having a problem sending a job (an integer array) from client to server in two different packages over a socket connection. Any ideas please?
I can explain further if my question ... |
I have signed my applet.I also have images in a file array.I just cannot figure out that how can I send these images to the server.any suggestion will be greatly appreciated.
... |
I am not able to send commands to the server. However the connection is established and I am able to do the simple operations like "rm /usr/testfile". When I try to ... |
I'm trying to write a Java program for Windows that involves communication with a server program located on a foreign machine.My program successfully connects to the server, successfully writes a byte ... |
Client has sendpoints() method which is called by some other class that I did not include.
Anyways, sendpoints() is called and sends integers to the server, which receives them and send back ... |
Im new to JAVA so go easy on em please.
I have a server and a client that can successfully connect to each other and other stuff but 1 function of the ... |
I am having a server where my java
web application and database
server reside.
Now the clients of my web app are
of ... |
|
I got stuck in a serious problem, I have to send a stream of data to client. I am sending the data holding it in a string variable.
But the client ... |
I've written a basic client - server socket program in Java from a tutorial in the book 'java-all-in-one desk reference for Dummies',it contains 3 classes, BartServer,BartClient,BartQuote.. basically what the BartServer.class does ... |
I have sent a String from client to server but when it receives to the server it doesn't print in the first time only in second time and don't know why.
Here ... |
I have a string that is in a while loop to be sent from client to server multiple times but I want it to be sent only one time per a ... |
In Server Client programming, how to send the data to the particular client out 3 clients in java. I had done the program for Multiple Client and a server. can any ... |
// String uArg="key="+URLEncoder.encode(key)+"&tag="+URLEncoder.encode(tag)+"&latitude="+URLEncoder.encode(""+latitude)+"&longitude="+URLEncoder.encode(""+longitude); |
I guess you could use the java-javascript comunication library for the purpose. Since the requests sent by the applet will be served sent back to applet itself(I think!). Applet can use javascript methods for displaying the new html document. Another workaround could be using the HTTP methods, like GET etc and sending the response to the browser itself.I donno how is ... |
|
|
|
|
|
|
We could imagine a case where there are thousands of clients, and opening and holding connections from all clients to the server would chew up too many server resources. Then we could do something like the following. Because the machines in this setup reverse client and server roles, I'm going to call them workstations and a hub. First, when workstations join ... |
ok i've been looking at a bit of code. and I still don't know when or how the server recognizes what data was sent to it. does a serversocket have a inputstream and output stream too? or does it just capture that client, and extract the contents from its input and output stream? Thanks, Justin Fox |
In the JRE/plug-in 1.5/5.0 is there any way to configure the certificate management to remember that a user has allowed the client certificate to be sent to the server and not ask the user each time the server requests the client certificate? I am using Weblogic 8.1 with the security setup as "client certificates requested but not enforced". Ideally, I would ... |
I'm developing a project for college. It's supposed to simulate a client/server electronic ballot box. When the user chooses the candidate, a picture of the candidate is supposed to appear on the screen. My problem is that the picture is chosen on the server and needs to be shown in the client. I've already googled it and I came across one ... |
I have designed a multi client chat structure. Previously also I have made several posts regarding this same program All those issues were solved but the post had grown too long and was looking very complicated thus I have decided to start a new post. This is also having a newer kind of issue. Please help me overcome the problem I ... |
|
Hi, Will the socket be able to send the password prompt from server to client. I am doing a Client Server connection tool where in user enters the unix commands in the Client window, the commands get transferred to Server where it is executed. Normal unix commands are working fine. But whenever i give commands like sudo, passwd,login the password prompt ... |
I'd rather not use DIS and DOS. Stream is alot better than those, you don't have to use char array's just to send a simple String. I will continue using Stream, i had it working on my old 2d java game, there was something i had to do when reading etc, but i can't remember. Usually i use packet's for it, ... |
By using a Reader (like BufferedReader) to read character-based data, or at least taking the feedback from the read() method telling you how many bytes actually were read. You currently take 100 bytes, fill the first two or four with "hi" and keep the rest as trailing hex-zeroes, and wonder why you end up with extra chars... |
|
|
First option is to use ObjectInputStream/ObjectOutputStream along with the Serializable interface that Market should implement. This is fairly painless. The second option is what you propose (parse the data) and perhaps use the Externalizable interface instead of Serializable. Trade-offs: first option is only for Java-to-Java communications. The second option is more general, but requires more coding. |
Dear team, Let's suppose I have 3 PCs. One creates a (server)socket and the other 2 are connected to it, using its Local IP and they can have a chat. Example: 192.168.4.1 (it is the "server", it creates the socket and waits for connections. Then, it "broadcasts" the message to all the connected clients.) 192.168.4.2 (a "client", connected to the above ... |