Network communication samples please

  • Thread starter Jeff Johnson [MVP: VB]
  • Start date
J

Jeff Johnson [MVP: VB]

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?
 
S

Sunny

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top