Last post Apr 27, 2016 08:06 AM by Ramesses
Apr 26, 2016 05:39 AM|Gopal Marella|LINK
hi, i done chat application , two clients one is web clint and another one is winform client and communication between those using wpf service.but it is group chat, i want it as private chat. i am deveoping these by referring the follwing links.
please suggest me.
Apr 27, 2016 06:30 AM|Fei Han - MSFT|LINK
Hi Gopal Marella,
According to your description, it seems that you’d like to send message to the specific client (one to one). You could try to map user to the connection id, then you could send message to client with the specific user id.
public void Send(string userId, string message)
Apr 27, 2016 08:06 AM|Ramesses|LINK
refer to topics on Comet Programming, they will give you a lot of ways in which you can push data from server to browser. Also have a look at HTML5 socket programming which has been designed for 2 way communication between server and Client. Hope this helps.