[ANSWER] client and server software programs

Question description

Implement client and server software programs for general posting/sharing of information/posts.There can be many client programs running, but just one serverThe clients and server will communicated using socket programmingThe client program will alternate between a) periodically requesting and displaying new content from server, and b) posting new content to server. Each post will consist of a timestamp and a string. The server program will need to alternate between a) listening to the socket for new client requests and b) starting a new thread for processing a new request- The new thread will need to act based on the nature of the client’s request: – If the client requests all new content, then the thread will simply transmit all posts that are new to that client- If the client requests to publish a new post, then the thread will get the post from the client, and then post it into some shared file/data structure. Since many threads might be doing that at the same time, there will be a need for mutual exclusion when writing to the file/data structure.

~~~For this or similar assignment papers~~~



We have the solution to this question. However, to avoid posible plagiarism, let us provide a fully custom and original solution. Please talk to any of our homework helpers via the chat icons at the bottom of your screen.

Psst!!! Let us do your homework for you!

Do you need expert help with your homework? Are you busy and would like an extra hand with your essays, homework and assignments? Try us today for the best grades in class!

Send us a message!