Комментарии:
super cool tutorial. Thank you so much!
Ответитьmost unexpected programming video intro
ОтветитьThis code is horrible. Seriously, you should take the video down.
ОтветитьHow to terminate threads explicit?
ОтветитьThank you so much for sharing! very insightful!
ОтветитьHi Jacob, i love your videos and could you do a libuv tutorial? I think it will be a fun topic to watch.
ОтветитьHi, I can't find the source code on Patreon . can someone send me . Will be very appreciated , Thanks
ОтветитьMuch respect to you sir! Thanks for sharing the knowledge
Ответитьis it a good idea to give each client a thread? is it dangerous? Is it a good idea to handle client request with accept or epoll and assign a thread for a specific task?
which is better?
Priority Multithreading tcp please
ОтветитьExactly what I was looking for. Thanks for sharing!
Which c compiler did you use?
how many cores/threads does your "server" (which I presume it's the actual host pc you are using) have, just so that I can image how many threads can actually run in parallel at once? Thank you!!!
Ответитьi thought its a vlog
Ответитьtoo hard to understand
ОтветитьThe intro was just lit.
Rainy season touch my heart.
Very well done video
Ответить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
ОтветитьPlease correct me if I am wrong:
If there is pointer to a dynamically allocated memory in calling function and it is passed as an argument to called function (as you did in the case of handleConnection() function), will it not cause a dangling pointer in calling function if the memory is freed in called function?
I think it's better to free the memory in calling function (or parent thread) and to be safer, after child thread joining. I guess the pointer in new thread function will have no effect once the function returns and frame is removed from function call stack.
You were a professor at botho right?
ОтветитьI'm from Africa. Really appreciate your work
ОтветитьWould it make it faster if we use fork() instead of threads?
ОтветитьAwesome video!!
ОтветитьExcellent video, I enjoy explanation.
ОтветитьYou are too good but too fast, cant really follow.
ОтветитьExplaining concepts with code is pure gold..! As Linus Torvalds says, "Talk is cheap show me the code".
Ответить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
ОтветитьHi Jacob, confused as to why the value of client_socket is being copied to the heap? When the while loop starts again, shouldn't the new accept call return a different file descriptor than the last iteration? If we pass the file descriptor by value vs by reference we should be fine right?
ОтветитьCan you help me
How make this code when we have multiple clients just one client connect that server and the other clients wait for response's server until that client is completed
Well said sir😊😊
ОтветитьSir I have aa doubt please can u help me can I send u in mail
Ответитьvery beautful code, what your IDE is? Is computer system Linux?
Ответитьyou are a fantastic, thank you very much ..... I have a question, I don't know if you can help me but I want to know how to create multiple processes that connect to the apache web server, establish a connection and keep it waiting, just wait for the server timeout , and when the connection is lost, the process should restart it.
In the end what I want is to see the simultaneous connections the web server can support, using a C language and fork () processes, the parent process will count how many processes achieve controls and many don't.
What if the handle connection function takes more than one argument?
ОтветитьHi Jacob, can you tell me more about the function "check" that you created? I want to use it in my code too. Thanks!
Ответитьgreat videos ! Just wanted to ask , the first implementation of the threat , is essentially a producer/consumer model without a queue ?
Ответить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
Been really starting to get into computer science and these videos are always interesting and helpful!
ОтветитьThank you for very good video, Jacob! Is it possible to find somewhere source code you use here?
ОтветитьThank you so much for making these videos!
ОтветитьHey I needed help with listening from two ports at the same time.What should I do for it?
ОтветитьPlease do a tutorial about Unicode, pls, I need this :c
Ответитьthats the kind of videos i like. very interesting!
ОтветитьAwesome stuff Jacob :D <3 Thank you.
ОтветитьWhat's gonna happen if you pull a SlowLoris DoS attack on this server?
ОтветитьHello Jacob, thank you very much for your content. Would it be possible that you go over evented web servers some day? I would like to get your take on event loops and maybe even a small introduction to select or epoll/kqueue.
Ответить