Загрузка страницы

Multiple Chat Clients: One Thread (in C++)

#networking #sockets #multipleclients #nothread

This is an introduction to network programming by building a server in C++ that echos the client's messages back. It allows multiple clients to connect using the fd_set structure, the select() function and three macros: FD_CLR, FD_SET and FD_ZERO

Introduction to Networking, sockets and ports: https://youtu.be/TE1XQ8U_JNA

The original video (C++) allowing one client to connect: https://www.youtube.com/watch?v=WDn-htpBlnU

Source code: https://github.com/codehoose/cpp-networking/tree/main/MultipleClientsBarebonesServer

You'll need PuTTY to test out the server. It can be downloaded from here: http://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

Видео Multiple Chat Clients: One Thread (in C++) канала Sloan Kelly
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
19 июня 2017 г. 21:00:05
00:27:46
Яндекс.Метрика