Processing client messages

By bhoot_jb ·
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 conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Related Discussions

Related Forums