mercoledì 28 settembre 2016

Day 169: Multiple windows and basic networking

Today I started by finding a way to spawn multiple windows in visual studio. This required creating a multiple startup project and a few extra tweaks. This is required to be able to easily play with different client and servers.
Then I implemented the client and server classes, which are high level views of the base networking class, and I managed to implement a small server and send it into "accept" mode.
Finally I wrote a Thread class which wraps the c++ threads, and I managed to launch the server in a thread and avoid a blocking call.

Nessun commento:

Posta un commento