mercoledì 12 ottobre 2016

Day 175: Improvement in non-blocking IO

Today I refactored everything and improved the server to properly handle non-blocking calls.
Now both the red and write method can occur over multiple frames.
I'm not 100% sure that they behave correctly, because on the LAN I automatically avoid most worst scenario cases.
The chat application behave exactly like yesterday in normal conditions.
I'm not sure of all the choices I made, and I'll probably change this classes again in the future.

Nessun commento:

Posta un commento