Click here to Skip to main content
15,922,155 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi all,
I have written client server application in vb.net.It is working correctly.when client sends a message,that will received by the server,but when server sends a reply that will received by all the clients and displayed.
What i need is, i need to send reply to particular client where multiple clients are connected.
For that what shall i do?Please suggest me...
Posted

1 solution

Servers are usually implemented as REQUEST/RESPONSE, what you are talking about is the server initiating a request to a specific client.

For this you can do the following :
1) Setup the reverse process on the client and server where the server is the client and the client is the server.

2) Implement a polling mechanism where the clients send a request to the server and gets the messages for it (say every 5 sec).

Option 2 is better.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900