Question: 3. Implement 3.1 Programming environment You will write code with any programming language you feel comfortable. KOIIE: You should (1) use ICP Sockets in your

 3. Implement 3.1 Programming environment You will write code with anyprogramming language you feel comfortable. KOIIE: You should (1) use ICP Sockets

3. Implement 3.1 Programming environment You will write code with any programming language you feel comfortable. KOIIE: You should (1) use ICP Sockets in your peer connection implementation; (2] handle multiple socket connections; (3) integrate both clientside and serverside code into one program and run on each peer 3.2 Running your program Your process (your program when it is rurming in memory} will take one command line parameters. The parameter indicates the port on which your process will listen for the incoming connections. For example= if your program is called char, then you can run it like this: . .r'chat 4. 322= where 4322 is the listening port. Run your program on three computers and perform message exchange. 3.3 Functionality of your program When launched: your process should work like a UNIX shell. It should accept incoming connections and at the same time provide a user interface that will o'er the following command options: (Note that specic examples are used for clarity.) 1. help Display information about the available user interface options or command manual. 2.. myip Display the [P address ofthis process. Kote: The [P should not be your \"Local'= address (12100.1). It should be the actual IP of the computer. 3. myport Display the port on which this process is listening for incoming connections. \f

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!