This is my study project.
I have to write a server in Python, which uses TCP protocol, listens for requests, works with YAML datastructures and sends responds. The descrtiption of all the situations and request types that i have to implement takes 16 pages.
🏅 Top traders
# | Name | Total profit |
---|---|---|
1 | Ṁ141 | |
2 | Ṁ8 | |
3 | Ṁ5 |
10h
4/8 tests passed. Out of those 3 did not pass, because program does not manage to read the socket again. One fails because times out.
So even though it is 4 failed tests, it is actually 2 mistakes.
No idea whether I am supposed to prevent several processes trying to open the same file. It will be solved by operation system, one of them will succeed and the other will sent an error to the respective user, but it is not explicitly stated whether this is the needed behaviour.
I think it's fine. Let it be
40m+80m=120m
Doing really slowly and calmly, trying to understand every bit. Everything feels managable. I could have done the same progress in 20 minutes by copying lines from documentations, but not understanding then.
Main process ready. That is only because child processes will be doing all the talking to the client and file system.