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. :)
Bhoot 0 Junior Poster in Training
Ramy Mahrous 401 Postaholic Featured Poster
Bhoot 0 Junior Poster in Training
sknake 1,622 Senior Poster Featured Poster
sknake 1,622 Senior Poster Featured Poster
Bhoot 0 Junior Poster in Training
sknake 1,622 Senior Poster Featured Poster
Bhoot 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.