@JacobSorber
  @JacobSorber
Jacob Sorber | How to write a multithreaded server in C (threads, sockets) @JacobSorber | Uploaded 4 years ago | Updated 3 hours ago
Patreon https://www.patreon.com/jacobsorber
Courses https://jacobsorber.thinkific.com
Website https://www.jacobsorber.com
---


How to write a multithreaded server in C (threads, sockets) // I show you how to write a simple multithreaded socket server in C. I also show you some of its shortcomings. In the following two videos, I show you how to improve it.

Part 2: https://youtu.be/FMNnusHqjpw
Part 3: https://youtu.be/P6Z5K8zmEmc

Other Related videos:
Network programming videos: https://www.youtube.com/playlist?list=PL9IEJIKnBJjH_zM5LnovnoaKlXML5qh17
Threads videos: https://www.youtube.com/playlist?list=PL9IEJIKnBJjFZxuqyJ9JqVYmuFZHr7CFM

Realpath video: https://www.youtube.com/watch?v=ewqX1IuYzC8

About me: I'm a computer scientist, researcher, teacher, and Internet of Things enthusiast. I teach systems and networking courses at Clemson University. I lead the PERSIST research lab.

More about me and what I do:
https://www.jacobsorber.com
https://people.cs.clemson.edu/~jsorber/
http://persist.cs.clemson.edu/





***

Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.


About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.

More about me and what I do:
https://www.jacobsorber.com
https://people.cs.clemson.edu/~jsorber/
http://persist.cs.clemson.edu/

To Support the Channel:
+ like, subscribe, spread the word
+ contribute via Patreon --- [https://www.patreon.com/jacobsorber]
+ rep the channel with nerdy merch --- [https://teespring.com/stores/jacob-sorbers-store]

Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.herokuapp.com/]




Want me to review your code?
Email the code to js.reviews.code@gmail.com. Code should be simple and in one of the following languages: C, C++, python, java, ruby. You must be the author of the code and have rights to post it. Please include the following statement in your email: "I attest that this is my code, and I hereby give Jacob Sorber the right to use, review, post, comment on, and modify this code on his videos."

You can also find more info about code reviews here.
https://www.youtube.com/watch?v=k2K2HVg4Arc
How to write a multithreaded server in C (threads, sockets)Why are my ADC readings messed up? (Arduino example)Understanding the For Loop (examples in C)Testing matters. Watch those corner cases.Clarifying about literals, macros, and const (still not constant?)How to Indent Code the Right WayThe What, How, and Why of Void Pointers in C and C++?Stop Studying for Code InterviewsYour Variables are Not Real.What the FizzBuzz? (A toy problem worth caring about?)The Good and Bad of Automatic Make RulesRevisiting print debugging. Is it that bad?

How to write a multithreaded server in C (threads, sockets) @JacobSorber