Question: Can someone help me with Linux OS, Im having to create a socket communicaition with Linux using C Objectives 1. Study Inter-Process Communication on Linux
Can someone help me with Linux OS, Im having to create a socket communicaition with Linux using C


Objectives 1. Study Inter-Process Communication on Linux OS 2. Gain experience with an industry standard OS 3. Use client server architecture for inter-process communication 4. Work with multiple client connections 5. Gain experience with socket programming on Linux OS You are gging to investigate the socket communication and programming under Linux OS. Based on the general framework of the Client Server architecture you are going to implement a simplified application of inter-process socket communication under Linux OS The implementation should consist of the server side and client side. The server side should provide the following major functions 1) Create a socket for communication 2) Bind the socket to an address ("localhost" and "IP address + port #on. If this server will be accessed by other computers on the Internet, an address consists of a port number and IP address of this server. 3) Listen for connections 4) Accept a connection from a client. 5) Send and receive data 6) Create processes to hand multiple connections concurrently 7) Close the connection when a client stops its communication. The major function of the client side includes: 1. Create a socket for communication 2. Connect the server socket 3. Send and receive data repeatedly 4. Close the connection when communication stops. It is fine that your implementation is based on the other existing work/source codes. But you have to acknowledge them by providing references and URLs that used in your work. Figure 1 (a) and (b) are sample screenshots for communication between1 server, three local clients and one remote client. However, Figure 1 only show one message sent by the client. Your client should let a user send messages as many times as he/she wants. Your results don't have to be the same as this but your project is supposed to work similar to this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
