Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends,

I'm a new beginner to socket programming with C# language. I have a homework about socket programming. In this homework there are one client, one authenticetion server, one computing server and one crypto server. The system is worked as below;

1. Client requests for a computation operation from authentication server (Ex: 3-1 or 8/2 etc)

2. Authentication server ask for a key from crypto server.

3. Crypto server sends a key to authentication server and same key to computation server.

4. Then authentication server adds this key to computation message packet.

5. Authentication server sends message packet which includes both computation operation and key values.

6. Computation server takes this message packet and compare keys(one of them comes from crypto server and other is in the message packet that comes from authentication server)

7. If keys are equal then makes computation and eventually sends result of this computation to client. If the keys are not equal then drop all messages.
Posted

1 solution

Well, what to say? Good luck with your homework.
You know, this is 'Quick Answer' we don't provide complete code for homework. Please try hard yourself and if you're stuck then post here specific questions.
 
Share this answer
 
Comments
edone44 26-Dec-11 17:09pm    
I already don't want complete code here. I need some opinion to solve it easily.
Sergey Alexandrovich Kryukov 26-Dec-11 18:59pm    
I think you need to solve the problem very well, to get the best experience and high scores; and this is not the same as "easily".
--SA
Sergey Alexandrovich Kryukov 26-Dec-11 19:00pm    
Well, what to say? Agree with you, voted 5. :-)
--SA
CPallini 26-Dec-11 19:08pm    
Thanks :-)
Rajesh Anuhya 26-Dec-11 22:10pm    
Perfect Answer, have my +5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900