Processing client messages - TechRepublic
Question
May 10, 2009 at 06:47 AM
bhoot_jb

Processing client messages

by bhoot_jb . Updated 17 years, 2 months ago

I am developing a client-server application in C#.NET
In my client-server architecture, the cilent-side application would send specific messages to the server-side application.
How should i handle those messages?
Previously, in a small project, i had just passed the received message to a method where it would process the message through a switch case structure.
However, this doesnt seem feasible as this is a much bigger project.
Can anyone provide me a better alternative.
I have thought of using delegate. However, i would rather wait for some suggestions.

This discussion is locked

All Comments