Hi, I try to write a pub/sub system ( client and server side ) , where client receives regular updates ( like heartbeat, message control ) and can issue command to server ( subscribe to some source , .... ).
What would be a good way to do that? I have already a server implementing a threadpool to manage incoming client connection.
I was wondering how to handle the fact the both side of the connection can read or write data in the NetworkStream . Furthermore more of my clients will actually issue very few commands to the server ( mostly to subscribe to some data and then just get regular updates ). I try try to use plain socket,tcpclient,tcplistner ( i ll see later about WCF )
Thx Dave