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

preview_player
Показать описание
---

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.


Other Related videos:

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:



***

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:

To Support the Channel:
+ like, subscribe, spread the word

Want me to review your code?

You can also find more info about code reviews here.
Рекомендации по теме
Комментарии
Автор

Explaining concepts with code is pure gold..! As Linus Torvalds says, "Talk is cheap show me the code".

terigopula
Автор

If you are a teacher, i am sure you will produce a bunch of very good programmers.
Simple, Clear and Crisp, keep up the good work

ajidaniel
Автор

most unexpected programming video intro

Runeite
Автор

I have been trying to get my threads running for 3 whole days. After using your method of passing the sockets as pointers my problem was solved. Thank you so much

eduardonolla
Автор

The intro was just lit.
Rainy season touch my heart.

dhruvandangar
Автор

Been really starting to get into computer science and these videos are always interesting and helpful!

marshalstewart
Автор

Much respect to you sir! Thanks for sharing the knowledge

sushmitagoswami
Автор

Thank you so much for sharing! very insightful!

anwarpenn
Автор

super cool tutorial. Thank you so much!

giangdieu
Автор

I'm from Africa. Really appreciate your work

mahamanebana
Автор

thats the kind of videos i like. very interesting!

whodaFru
Автор

Excellent video, I enjoy explanation.

foxred
Автор

Man this was great thanks! I always felt like c was a shitty language, but I can see that I just have to get more experience with it

copierofvideos
Автор

Awesome stuff Jacob :D <3 Thank you.

lordadamson
Автор

Thank you so much for making these videos!

cellularmitosis
Автор

Hi Jacob, i love your videos and could you do a libuv tutorial? I think it will be a fun topic to watch.

pikimk
Автор

2:29 "It is a truth universally acknowledged, that a single man in possession of a good fortune, must be in want of a wife..." hahaha

Diddy
Автор

Exactly what I was looking for. Thanks for sharing!
Which c compiler did you use?

juanmamani
Автор

Hi please do some tutorials on EC200U opencpu .

axramar
Автор

thanks for the tutorial, that's very awesome. I have one question, in this tutorial, do we have thread-safety problem? every thread created is working on a same function with the same resource! if there is such an issue, why the code is running without problem?

RaminPourabbas