TheGreenHacker / IPC

12 stars 34 forks source link

Improvement 2 : I did not know what to do next #2

Open sachinites opened 5 years ago

sachinites commented 5 years ago

I started server program, but i did not know what to do with it, all it showed was : Select... on screen.

Convert server to Main-Menu driven and user interactive program. Do dame with client also.

How I would know what all entries are present in Server/Client routing tables. Add some show command also besides CREATE/UPDATE/DELETE on client and server sides.

sachinites commented 5 years ago

But Nice, Great work and Clean good looking code.

TheGreenHacker commented 5 years ago

I see. But any suggestions on how to make the client more user interactive? I thought the client was just supposed to display the routing table after all current updates from the server have been processed. Hence why I chose to automatically display the routing table on both the server and client ends (to help with debugging).

TheGreenHacker commented 5 years ago

Thanks for the feed back.

TheGreenHacker commented 5 years ago

Also, the client (current implementation) knows when all current updates have been received server when the variable 'ready_to_update' has been set to 1 by the server.