communication « Client « Java Network Q&A

Home
Java Network Q&A
1.API
2.bluetooth
3.Client
4.connection
5.Cookie
6.Development
7.Email
8.File
9.ftp
10.http
11.HttpClient
12.https
13.ip
14.Network
15.OS
16.RMI
17.Security
18.Server
19.Socket
20.tcp
21.UDP
22.url
Java Network Q&A » Client » communication 

1. Establishing communication between Java client and .NET server    stackoverflow.com

I would like to create a server using .NET and Java client (Android application). The client will be connected to the server through mobile network so it's impossible to use tcp socket ...

2. how to write a complete server client communication using java nio    stackoverflow.com

High I am new to java NIO. I have to write a simple server client communication program using java NIO. So is there any sample programs or any link where can ...

3. client server socket based communication    stackoverflow.com

I recently tested a socket based communication between a J2ME app and a local computer, the J2ME app was running on a emulator in NetBeans 6.7 and the server socket was ...

4. Fat Java client need two-way communication channel to web server over http/https    stackoverflow.com

I have a situation where I want a Java client to have a two-way data channel with a servlet (I have control over both), so that either can begin data transferring ...

5. Client Server communication in Java - which approach to use?    stackoverflow.com

I have a typical client server communication - Client sends data to the server, server processes that, and returns data to the client. The problem is that the process operation can ...

6. how to code client server communication in j2me    stackoverflow.com

i am developing a project that exchanges data between client and server.I have coded it in j2se but i dont know how to make it work in j2me. please anyone help ...

7. Time between client inputs in socket communication    stackoverflow.com

I have a simple socket server client communication in java where the clinet introduce a string and the server return the number of spaces from that string. I want to finish ...

8. Socket Authentication Server?    stackoverflow.com

I am currently playing with java to create an authentication server for a desktop app and so far I have been able to make both the client and server communicate like ...

9. Client/server-communication in Texas Hold'em    stackoverflow.com

I am currently programming a Texas Hold'em LAN game in Java. My problem is how to do the client/server-communication. Each time something happens at the table, the clients need to be informed ...

10. server client communication java    stackoverflow.com

I have this client, the server information is not important. The output of this code is very random.

class Client {
    public static void main(String args[]) throws Exception

  ...

11. Client / server communication using serialized objects    stackoverflow.com

I try to establish a client / server connection for a mastermind game. I though of using enumerations to represent the different pegs and made them serializable. Then I have to implement the ...

12. Which Client - Server Communication Approach?    stackoverflow.com

Basically I need a bidirectional client-server communication (Java) where the client calls methods on the server, but also needs to get "callbacks" if certain events in the server occur. The methods theirselves ...

13. How can I use a SocketServer to start a communication with a Client in Java?    stackoverflow.com

First, I am quite new with the use of Socket communication, so there still some things that I don’t know. I understand the basics of Socket communication in Java, so I ...

14. socket communication to push data to client    coderanch.com

I want to write a Java application to send a data file output by a C program running on the server to a client connecting to our web site. Once the file is downloaded to the client machine I want to invoke a local program on the client machine and pass the data file in as input. The connection has to ...

15. Client Server Communication    coderanch.com

16. Independent Serwer to Client (!) communication    coderanch.com

Does anyone knows how the following problem is solved in application like YahooMessneger etc: When client starts it connects to server via TCPIP and maintains permanent connection to it. THe server starts new thread and this new thread receives incoming messages, process them and sends back result. So far, so simply. But ! How, then, server communicates to client an "independent" ...

17. Server and Client communication probs    coderanch.com

1)I have written a SocketServer on one machine which a.Waits for a connection from a client b.Sends a message to the client using a PrintWriter c.Receives a message from the client using a BufferedReader 2)On another machine I have a client program which a.Creates a connection with the server b.Receives the message from the server using a BufferedReader c.Sends a message ...

18. Error detection in Client Server Communication    coderanch.com

Hi All! I have a client-server application in which I send packets from the server to the client in compressed form. From the server, I first send the size of the compressed bytes (the data size), followed by the actual compressed bytes (the data). At the client end, I first read the size of the compressed bytes and then read in ...

19. Problem in communication bet'n vb client and java server    coderanch.com

Hi all, The vb client is successfull in connecting to the server and also sending the data.. I am not getting any error/exception there.the server is not able to receive any data .Only after I close the vb client Application the message sent by the client is seen on the server side.. Please help me in this regards.. thanks in advance ...

20. Socket communication between C server and Java Client    coderanch.com

The server is coded in C and client is coded in Java. I have a struct in C with a few primitive data-types like int,char[].The message structure is sent via socket. Say,i sent an int value of 4 from the C-side. I use a DataInputStream on the Java-end and read the contents of the message into a byte[].When i try to ...

21. two-way communication between client and server behind firewall    coderanch.com

What kind of traportation mean shall i use for two-way communication between client and server assuming both of them behind firewall? Currently my work around is: 1. Client->Server: usual http reuqest using HttpURLConnection 2. Server->Client: I have a DatagramSocket listen on port 80 or 443 running on client and the server just send DatagramPacket to client on 80 or 443. Here ...

23. client / server (communication problem...)    coderanch.com

hi i need to create a little client/server (multithread) i read http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.html i don't need the protocol class (just need to return what the client type and the number of request...) the connection is ok but when the client type... nothing happen on the server client class import java.io.*; import java.net.*; public class Client { public static void main(String[] args) throws ...

24. client server communication problems    coderanch.com

25. SSL Server and Client Communication    coderanch.com

hi all, i'm a newbie in socket programming. i'm trying to implement client n server which could send and receive messages continously, unless one of them closes the socket. this is the construct that i'v been able to come up with for server n client- Server: try { //Set System Properties System.setProperty("javax.net.ssl.keyStore",keystore_path); System.setProperty("javax.net.ssl.keyStorePassword",passwd); //Configure SSL Socket SSLServerSocketFactory sslserversocketfactory = (SSLServerSocketFactory) SSLServerSocketFactory.getDefault(); ...

26. client server communication    coderanch.com

Hi all, My web server could have 500 clients.Each client sends its information to my server after every 2 mins.Server stores the information in the database. The information sent by client after every 2 mins ,may or may not change.So in my opinion,it is not a very good design,to update the database after a message from the client comes.Instead server can ...

27. server - client communication    coderanch.com

Hello all, I am working on a project using java server side technologies. In the application, currently the client program polls the server every 30 seconds to get the latest messages. However due to the large number of browser clients and also due to the fact the each client on a average gets about 10 new messages a day, the current ...

28. How I can cut the communication between client and server using a filter?    coderanch.com

Hi Thank you for reading my post How I can cut the communication between client and server using a filter? for example if user request header has no coockie, i do not allow the request to go to its endpoint and instead i generate some html and send it as response to the client without allowing the request to go in. ...

30. Messenger Client to Client Socket Communication (Not via Server)    coderanch.com

Hi, I need to make a messenger where a client can communicate with another client directly.. (not via the server) i.e any client can communicate with any other client privately just like yahoo messenger there are lots of example of server/client pair socket communication & this is not what i am looking for so i am puzzled how to do that.. ...

32. Communication between client and server    coderanch.com

I need to run a server side program such that it will run in background and wait for the client message. and at client side i need to send a message to server. and at server depending on the message i got from the client i need to run a piece of code. I don't know much of socket programming i ...

33. Client Server communication    coderanch.com

Hi, I am new to socket programming, and i want to write one program for client server socket communication. I want to establish connection between two Machine lets say Computer A and Computer B both are in LAN. Computer A Opens server socket, and wait for a particular port for client to send request. Now computer B(Client) sends request to A, ...

34. Client-Server communication; client freezes    coderanch.com

Hi, the story: Clients sends a request, server reads that request, and sends a response, lastly client reads the response. There will be multiple clients so I tried to implement it using threads in the server code to be able to continue listening for new requests. But in the last step the client freezes when I say read the response from ...

35. client /server model of network communication    forums.oracle.com

36. client - server communication (CPU issues)    forums.oracle.com

Maecol wrote: ... although it sort of works, I'm pretty sure that I'm doing something wrong as the way it's working right now will just completely devour all my cpu. For all three classes I would implement Runnable instead of extending Thread. Apart from that your SetupServer looks reasonable. Your SetupClient logic is a mess. Decide if you want to use ...

37. Socket server client communication HELP    forums.oracle.com

i can update the server when ever i want to because it can have a continous accept input stream and it doesn't affect the applet. // so when ever the client moves, the applet will update the server because the server has input.readLine() in it's run loop. But when i have the applet as a continous accept input stream it slows ...

38. client server communication problem    forums.oracle.com

39. help needed regarding the client server communication    forums.oracle.com

this is regarding my networking project which at present i am doing it in java... the project is abt establishing a server in my lab that controls all the other systems in that lab... now the problem is i have to shut down all the systems in the lab from the server on a click of a button.... this i need ...

40. help needed regarding the client server communication    forums.oracle.com

this is regarding my networking project which at present i am doing it in java... the project is abt establishing a server in my lab that controls all the other systems in that lab... now the problem is i have to shut down all the systems in the lab from the server on a click of a button.... this i need ...

41. Help? Communication of clients on different networks using ARP-type servers    forums.oracle.com

Help? Communication of clients on different networks using ARP-type servers Posted: Mar 17, 2007 11:40 PM Reply I thought I posted this about a week ago, but I can't locate it in the forums anywhere so here it is again. ********************************************************************* Hey to all you great and powerful wizards of Java! I am not a Java beginner, but far ...

42. client server app, question about improving communication with serializatio    forums.oracle.com

I am working on a client/server app, and I am running into a design dilemma. I am pretty sure people have come to this issue as well so I'd like to get some advice. This is the thing, I'd like to communicate between the client and the app in a dynamic way, that is, I'd like to send over many types ...

43. Server Client correct socket communication    forums.oracle.com

Hi, i have a server that works correctly and i have a client. All i need to know is how to make these 2 communicate without having my applet slow down or, not even work at all. My problem is like this. I can have my server have input.readline() in its run method, (on the whole time )and it dosn't mess ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.