This project is done for a real example of TCP communucation in C++.
Unix standart socket library is used for comminucation to make it faster and native.
Server
- is able to handle multiple clients. Dynamic allocation is done with unique pointer.
- works with a callback that carry income data.
- is able to open any avalible port.
- is able to open multiple port to listen.
- works with a thread that polls for every device that is listened.
Client
- has a light and basic structure.
- is able to send and receive string data.
- Type
make
from the top-level directory. - Type
./server/main_server
to run theserver
program. - Type
./client/main_client
to run theclient
program.