Комментарии:
I did this about 30 years ago.
ОтветитьIt would help if you slowed down in the second half. I would not have to keep going back and forth. We humans not machines.
ОтветитьLove your videos!
ОтветитьWe testet something
Boss: ship it
....: production ready
10 years later: wtf
I'm trying to use man like you do but when I use "man socket" the output is different than yours. I'm using ubuntu on windows could this be the issue? I'm quite green about c and linux environment so maybe this will sound such a silly question. Thanks
ОтветитьNice! Well explained, clear and easy to understand. A sub from me!
ОтветитьWoah. This video is really helpful. Love u, man.
Ответитьi can see why c isn't used for this now 😂
Ответить1:0p0
Ответитьnice vid i tried to read about sockaddr_in but for me there is no man page when i look for man sockaddr_in. I also ran with -k and -K that kinda works but it is also not the same do you have more pages installed then the std ones ? May I ask how to get those pages or config man to behave like this. Great content keep it up!
Ответитьgreat video
ОтветитьDidn't work for me. opened_fd = open(f, O_RDONLY) throws an error.
ОтветитьWho's interested in this topic, I'd suggest reading the book "Unix Network Programming" by R. Stevens and others
ОтветитьSo this channel is great!!!
ОтветитьLove it. Reminds me of doing Beej’s tutorials back in the day
Ответитьthanks for videos.
ОтветитьAmazing knowledge mate, thanks for sharing.
ОтветитьVery nicely done, straight to the point, subscribed after the first minute.
ОтветитьOne of the best ways to learn programming is just to roll up your sleeves and sling some code! Make mistakes, fix compiler warnings, learn a new function or build system, etc… Love to see it 👍🏻
Ответитьthats really cool. keep it simple as possible. this is a good perfect base for programming an own webserver. thank you. thats the most minimalistic best example i ever seen.
ОтветитьNice.
//Dec to Hex:
char hex[10];
sprintf(&hex, "%x", INT_MAX);//INT_MAX macro requires limits.h, though...
printf("%s\n", hex);//prints 7fffffff
Straight to the point, really simple to follow. Thank you.
Ответитьthis is a terrible tutorial. you should be ashamed of yourself.
ОтветитьGiven how bloated current software is, how many layers of abstractions on top of each other, writing webserver in C makes lot of sense. Serving a million requests out of one Raspberry Pi would make cloud services cry.
Ответитьi think you summarized 30 hours of a uni course in networking
Ответитьwait are you Nir as in the maker of the Nirsoft utilities?
ОтветитьYkw I think it's about time I ditch trying to attempt this on Windows, the winsock2 library thing looks hella weird, and not to mention I hate Microsoft XD. WSL it is...
ОтветитьCrunchy keyboard
ОтветитьHim setting it for 10 conns, me: Oooh, that's why slowloris works!!!! 😂😂😂
Jokes aside, nice job.
great but how do u know the steps to achieve like from open then close etc. I started programming in c but i want to start beginning projects like these any advice would be greatly appreciated
ОтветитьIt's nice to see the bare minimum it takes to get a web server to work. It really makes you think about all the other features, why they're there, and how they could be implemented.
ОтветитьWhen I was in college I played around with sockets and had a lot of trouble transferring binary files.
My code was freeing the socket and moving it to another descriptor, but I wasn't using the sendfile() function.
Instead, I was trying to write directly to the socket 😂
Nice channel! Subscribed!
Why does buffer need that 5 + thingy? And why its "GET"?
ОтветитьNice!! by the way, where are you from?(write me the SHA256 of the name of the country in lowercase)
ОтветитьEverybody loves hearing your keyboard typing noises!
ОтветитьClean Content :)
Ответитьawesome
ОтветитьProof of concept, or "MVP" as the Agile coach calls it ;) Thanks, learned a few things!.
ОтветитьWow, so thats how u use "man", man)
Cool stuff
This was oddly satisfying.
ОтветитьThis tutorial is actually amazing. It is so difficult to find good information on how to build something like this on the internet, and yet you just absolutely killed in with that video. It was extremely easy to follow, and the narration was just perfect. The way you opened the man pages and narrated what you were typing felt so natural and clear, making it super easy to understand your process.
I absolutely loved it.
hey man could you do a slow series or video about reading the man pages for programming? because you not only zip through it but its like your not even reading it at all your just like "it needs a x" "ill throw in this" and i cant even understand where you ended up conjuring shit from at all.. i see manpage open, manpage close, code manifests from the aether...
ОтветитьABUSING that keyboard
ОтветитьWhy not use fopen? It doesn't need any imports right?
ОтветитьThanks , although it would be nice not to hear you're strong clicks on keyboard it kind battered me IDK about anyone else.
Ответить