Question: When running the programs using ./example_server 4000 and ./example_client 127.0.0.1 4000 on the same machine I get the following output: $ /example_server 4000 msg 1:

When running the programs using "./example_server 4000" and "./example_client 127.0.0.1 4000" on the same machine I get the following output: $ /example_server 4000 msg 1: Hi msg 2: Hi again msg 3: Why am I just saying 'Hi' msg 4: Why are you not answering $ ./example_client 127.0.0.1 4000 msg 1: Hi msg 2: Hi again msg 3: Why am I just saying 'Hi'? msg 4: Why are you not answering? msg 6: Bye. msg 5: Explain why the output differs! Propose changes to the code to make the programs work as intended
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
