| Author |
heartbeat messages help
|
Sree Nivas
Ranch Hand
Joined: Jul 24, 2003
Posts: 95
|
|
Hi, Can anyone help me in solving the folloiwng queries in java socket. I need these 2 to be coded immediately. 1. Sample code to send heartbeat message from client to server. 2. How to make sure that client can receive any type of data from server? Here we are writing tcp client program, but don't know what type of it will receive from the server. So client must in a position to receive any type of data from server. Pl help. regards Sree
|
 |
Stan James
(instanceof Sidekick)
Ranch Hand
Joined: Jan 29, 2003
Posts: 8791
|
|
Let's dig a little deeper ... What have you tried or thought of doing so far? What kind of protocol does your client server communication use? What is the purpose of the heartbeat? What happens if it stops beating? How does the client receive data from the server? In response to a request? If the server hands you some data what would you like it to look like? How are you going to figure out what it is? What are you going to do with it?
|
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
|
 |
 |
|
|
subject: heartbeat messages help
|
|
|