Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Write a routine that forks. The child asks for input and the parent returns t

ID: 3548077 • Letter: 1

Question

1. Write a routine that forks. The child asks for input and the parent returns the input string in upper case. Use a pipe to communicate among parent and child.


2. Write two main programs that communicate via a named pipe. Have one program get characters from the keyboard, the other output the result to the screen using pipes to communicate.


3. Write a socket client and server to do the same function as assignment 2 above. Have the server open a hight numbered port in TCP. The client should connect to the server and send some text information that shows up on the server's screen.

4. Test your client and server in 3 using a different computer (someone else's client connects to your server).


ALL IN #C

Explanation / Answer


!. this one need more working, i can give the solution if you increase the points, for now i am providing the solution for 2nd question. Do rate!!





2. writer.c