Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedimage text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions