Rework communication protocol
authorLukas Jiriste <ljiriste@student.42prague.com>
Tue, 23 Jan 2024 11:36:32 +0000 (12:36 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Tue, 23 Jan 2024 11:36:32 +0000 (12:36 +0100)
commitf7454077375f3b866140876b09dbb6c71b0a2ebc
treee71521a0e88637df775b13704363d307d27a789c
parent43f8d4da7e2412ac54d3c1fcfe4890437724a02e
Rework communication protocol

Before client relied on a delay for server to be able to recieve.
Now this mode is only used for sharing PID of client.
After server knows client's PID, it signals the client when it is ready.
src/client.c
src/server.c