Hello!
I implement the server through named pipes, I encountered a problem ... Here is the task: The client reads text from stdin and sends it to the server, the server returns it to the client. The client prints to server stdout the response of the server and the time elapsed between sending text to the server and receiving a response from the server.
Tell me, how can I inform the client about the end of recording in the channel? (I have a server-one program with two processes: the 1st writes to the channel, the 2nd reads from it, and the client is different.)
'\0'
will mark the end of the transfer? - skegg