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
Recommended Answers
Jump to PostWhich technology you use? WCF or just socket programming what's the importance of data? all of these questions determine the best practice of implementing passing messages.
Jump to PostYou should link in your other thread for future questions on this project to give people a good background on what you're doing without having to retype it all :)
Take a look at what HTTP, FTP, or many other protocols do. They assign numeric values for a command …
All 7 Replies
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.