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
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Networking in C++ Part #1: MMO Client/Server, ASIO & Framework Basics](https://i.ytimg.com/vi/2hNdkYInj4g/default.jpg)
![How one thread listens to many sockets with select in C.](https://i.ytimg.com/vi/Y6pFtgRdUts/default.jpg)
![](https://i.ytimg.com/vi/_MT9MOV1GwM/default.jpg)
![Creating a TCP Server in C++](https://i.ytimg.com/vi/WDn-htpBlnU/default.jpg)
![Simple TCP Chat Room in Python](https://i.ytimg.com/vi/3UOyky9sEQY/default.jpg)
![Git Tutorial for Beginners - Git & GitHub Fundamentals In Depth](https://i.ytimg.com/vi/DVRQoVRzMIY/default.jpg)
![C Programming in Linux Tutorial #083 - select() function](https://i.ytimg.com/vi/qyFwGyTYe-M/default.jpg)
![Multiple Client Server Program in C using fork | Socket Programming](https://i.ytimg.com/vi/BIJGSQEipEE/default.jpg)
![How to write a multithreaded server in C (threads, sockets)](https://i.ytimg.com/vi/Pg_4Jz8ZIH4/default.jpg)
![Chat Client/Server in C# and C++ (WinForms, WinSock) (2020)](https://i.ytimg.com/vi/wKxbjB6zqS8/default.jpg)
![Object Oriented Programming (OOP) in C++ Course](https://i.ytimg.com/vi/wN0x9eZLix4/default.jpg)
![Socket Server Class in C++ - Abstracting the Network Layer](https://i.ytimg.com/vi/y4_mFrTeD_A/default.jpg)
![Creating a TCP Client in C++](https://i.ytimg.com/vi/0Zr_0Jy8mWE/default.jpg)
![Simple GUI Chat in Python](https://i.ytimg.com/vi/sopNW98CRag/default.jpg)
![Starter UDP Server And Client in C++](https://i.ytimg.com/vi/uIanSvWou1M/default.jpg)
![How To Create a Chat App and Server Tutorial WPF C#](https://i.ytimg.com/vi/I-Xmp-mulz4/default.jpg)
![Chatroom in C using Threads | Socket Programming in C](https://i.ytimg.com/vi/fNerEo6Lstw/default.jpg)
![Simple C++ Chat Programs](https://i.ytimg.com/vi/JOhvcpB5RX4/default.jpg)
![How to program in C++ #11 - While / Do While Loops](https://i.ytimg.com/vi/8Cy7shy-Jjo/default.jpg)
![Socket Program for handling more than one client simultaneously || C code || By: Vikash Shakya](https://i.ytimg.com/vi/VdcWI5AisUM/default.jpg)