I'm building a Windows service and I need to make a monitoring application
for users. Therefore I'll need to implement some form of communication
between the program on the users' workstations and the service on its own
machine. I'm afraid I'm completely out of my element here.

One of the things I want to do is to make all communication handling in the
service asynchronous, that is, I don't want "client chatter" to interfere
with the core work that the service does. I was looking into the Socket
class, and it appears that it's one of those things where you have to do
EVERYTHING yourself. I mean, it doesn't even seem to raise an event when a
client attempts to connect! Do you actually have to poll the monster
regularly to see if there are pending connections?

Does anyone know of a class (or articles dealing with one) that allows
asynchronous processing (which disqualifies the TcpClient/Listener classes)
and which will also let me write event-driven code?

Re: Network communication samples please by Sunny

Sunny
Tue Jun 29 11:16:15 CDT 2004

Hi Jeff,

looks like very good candidate for remoting.

Sunny

In article <uJbxNJfXEHA.1440@TK2MSFTNGP12.phx.gbl>, i.get@enough.spam
says...
> I'm building a Windows service and I need to make a monitoring application
> for users. Therefore I'll need to implement some form of communication
> between the program on the users' workstations and the service on its own
> machine. I'm afraid I'm completely out of my element here.
>
> One of the things I want to do is to make all communication handling in the
> service asynchronous, that is, I don't want "client chatter" to interfere
> with the core work that the service does. I was looking into the Socket
> class, and it appears that it's one of those things where you have to do
> EVERYTHING yourself. I mean, it doesn't even seem to raise an event when a
> client attempts to connect! Do you actually have to poll the monster
> regularly to see if there are pending connections?
>
> Does anyone know of a class (or articles dealing with one) that allows
> asynchronous processing (which disqualifies the TcpClient/Listener classes)
> and which will also let me write event-driven code?
>
>
>

Re: Network communication samples please by Jeff

Jeff
Tue Jun 29 12:29:23 CDT 2004


"Sunny" <sunnyask@icebergwireless.com> wrote in message
news:%23wWZoRfXEHA.1652@TK2MSFTNGP09.phx.gbl...

> looks like very good candidate for remoting.

Any pointers to articles on remoting for absolute beginners?



Re: Network communication samples please by Sunny

Sunny
Wed Jun 30 09:17:00 CDT 2004

I' highly recomend Ingo Rammer's "Advanced remoting".

Even with "advanced" in the title, the book is very good and explains
remoting really in deep, starting from the basic concepts.

Sunny

In article <euN9f6fXEHA.3796@TK2MSFTNGP11.phx.gbl>, i.get@enough.spam
says...
>
> "Sunny" <sunnyask@icebergwireless.com> wrote in message
> news:%23wWZoRfXEHA.1652@TK2MSFTNGP09.phx.gbl...
>
> > looks like very good candidate for remoting.
>
> Any pointers to articles on remoting for absolute beginners?
>
>
>