Damnm, you guys study networking for 2 semesters Most undergrad programs I know of only have a single subject of "Computer Netwoks" in the sophomore year...
Great video as usual. 33:51 The reason you got 3 byte is because you piped "hi " and in the TCP example it was "hi " as it was sent by pressing enter in the terminal. 13 is the ascii number for carriage return and 10 is the ascii number for newline feed .
It’s usually a windows vs unix thing. I believe that it happens because different tools were used for sending data. And they just adhere to different standards. The logic behind having “/r/n” is related to printers. This way you could send all file characters to the printer and it would know to go back to the left and drop to a new line. Unix (or at least the modern ones) says that it’s redundant and just rolls with “/n”. Sometimes this can cause weird git commit if the developers don’t stick to the same new line encoding and may even cause python scripts to malfunction on different systems.
I am a software engineer (backend dev primarily) for almost 2 years now. kinda got interested in the DevOps field lately and these videos are a refresher. Very well explained and I hope that others will benefit from it too. Thank you so much Nasser for your time and effort into creating videos for the 'Backend Engineering' series
Honestly dude, I have been looking more into your tutorials and this stuff is just amazing. Love how you keep it with minimal code while demonstrating understanding for the basic concepts. Genius...I AM A FAN OF YOURS NOW.
Loved the video! Thanks, my networking prof was very boring so I skimmed these topics just to pass the course. Now that I've interviewing for backend engineering positions at large companies, all the gaps in my knowledge is coming back to bite me in the ass! Your videos are great and are really helping me go over topics that I haven't thought about for a while / barely learned. Thank you for making these, it is literally directly influencing my life. Thanks again!
Best video for some one who is just getting into software engineering. Love the long video format upto 40mins-1hr. Thanks a lot Hussein Nasser, you are a great teacher. Please keep adding more content!
For anyone like me who struggles to understand low level fundamentals of modern software engineering - your channel is a splendid place! Thanks so much Hussein for your hard work!
@@hnasr Hi, I see you are bit of a nodejs enthusiast too. It would be great to have a "Hussien Nasser" style video of under the hoods of node, specially event loop, libuv and related internals. Just a thought.
I have become your fan. I have been trying to learn backend for 3 years and every time the topic came up - I procrastinated, ended up honing my skills at front-end, UI, design etc.etc. Not only your videos are so explanatory but you have made the topic so interesting that a beginner like me can truly enjoy it, would want to sneak deep into it. Thank you so much.
This is my first TH-cam comment since I started watching TH-cam which might be several years ago. I reached till the end and first time I understood the differences between TCP and UDP so clearly. Thanks for such crisp and detailed quality stuff
Newly hired backend SWE here, just letting you know I finished this video and watching your beginners backend engineering Playlist. I appreciate all the content you make.
Dude, I just wanna say thanks for the video, very informative and well structured. I'll admit, your accent can be a bit hard to follow at times but overall still coherent. looking forward to watching more of your content.
Thanks Hussein, you are a superb educator. Love the thoroughness in your videos. Even though I have been working as a developer in the industry for a number of years I always learn something new on this channel and it enriches my understanding of what the heck I'm trying to do. Keep up the great work!
Thanks for posting these. It’s really helpful. I’m taking an intro to networking course and these videos are are way better than the course material/lectures.
Hey Hussein, I reached the end! This was a truckload of reliable and deep knowledge for something I suck at right now. Thank you for your content as always, big fan and evangelist here :)
The best explanation to TCP and UDP through this video! Cannot emphasize how useful this was, in-depth, crisp and well-explained with examples 💯💯 Gonna check out the entire playlist now 🙌
Appreciate the long explanations. Shows how knowledgable you are with the topic, includes easy to understand examples and insights. Looking forward to more!
22:55 you had me laughing out loud 😂man, I recently found your channel and I want to say I really appreciate your videos and what you do, teaching us so much while also just sharing your thoughts and authentic self. You're helping tons of people and spreading positive energy, particularly in a community that doesn't have enough of it, imo. Thank you so much!!!!
you always say that your videos are too long, however my friends and I are your fan because we believe you explain essential and important sessions in short videos :)
Thank you so much husseine, I started my journey to be a software engineer inshaa Allah , and I can say your videos have being very helpful and has made me understand what happens under the hood. Allahuma barik 😊
I have written my networking paper by cramming all these and spitting out in the examination paper. But now after watching this video till end, I really learnt a lot. Looking forward to learn more. 😇
Thanks for this wonderful material! It would also be cool to see how Telnet actually found out that the connection was closed when you terminated the TCP server.
We need more teachers like you. @Hussein, Kindly start teaching to teachers especially of Institutes where faculties makes interesting lecture so boring. You are amazing 🙂 !
"There is one W in timeout" back end engineers truly speaks an other language Unbelievable work, if one day a get to teach at university I'll 100% try to be as good as you
I just want to say, Absolutely love your videos. Also great point when you said your videos are long because you try to cover all information, I have seen 5 min TCP videos which don't explain anything. Keep up the good work
thank you so much! I can finally say I have a much clearer understanding of concepts like DOS, congestion control, acknowledgment than I did earlier by mindlessly going through all those videos and pages after pages of very difficult explanation.
Even though I knew about TCP and UDP, I reached at the end of video. You represented it so nicely. Your videos are very entertaining, I don't really feel any learning stress.
Honestly man.. enjoying your explanation.. You channel have lots of lots of high quality content videos..I must watch all of them..I am sure I'm gonna do this.
Made it to the end lol Thanks for the video, man! Thought I lost a bunch of fundamentals and now trying to recollect it slowly and your vids help a lot! Anyway I think you should keep post the long video, it serves the right amount of info I guess. Nice one! Oh and maybe you can address what to learn next or some references to check out to after watching the vids, it might help some ppl who's just trying to learn step by step
Thanks Ardy! And good idea to what to learn next. I can use end screens for that or a playlist. I suggest the TCP 3 way handhake next th-cam.com/video/bW_BILl7n0Y/w-d-xo.html
@@hnasr Thank you! Yes and actually I watch your videos starting with the Backend Engineer Playlist, in order. If it's already in the right order then it's cool! 🙇
Hey Hussein, thank you! I love your passion and your humility. Would love to sit down with you with coffee to discuss the vagaries of software engineering! After watching three of your videos, I am hooked!
Great question! The implementation of HTTP itself is stateless, that is achieved by hiding the underlying TCP connection. Example you as an HTTP client do not have access to the stateful tcp connection, so if the connection broke, disconnected or the server just restarted etc.. the HTTP client will establish a new tcp connection without you knowing and it will work normally. This is also possible because HTTP is a request response system.. However if you are a client that directly use a raw tcp connection ,and that tcp connection is closed or. the server got restarted. You are maintaining the state of the TCP connection and guess what its gone. Now your application state is “disconnected” so you are responsible to reestablish the connection yourself.. back to the definition of stateless, if the state is gone the application should keep running. Hope that helps..
Hey I reached till the end. I really enjoyed your video. You put a lot of efforts to understand the concepts. Thank you for this. Plus the examples you showed were like the cherry on the cake. :)
Thanks for your video, it's very good to understand deeply about the network layer, now I can say I understand TCP/UDP and can make choice if needed later
Reach until the end. I like your idea of explaining this theoretical and sometimes boring things with examples. I wish they would have done the same in my university. It makes your channel different. Keep it up!
Well Hussein , it was nice but keep in mind we are beginner to the beginner. I felt many times in video that you are not explaining to the complete noob and some background knowledge is required other than your previous video. So thank you for these amazing videos but keep them simplified and detailed (no problem with lengthy videos). Always keep in mind that you are explaining these to complete noobs. Thank You.
Dude, I love the way you're teaching things, and how you demystify concepts and explain them in great details. I would really like to support your channel, so can you please guide me on how to do that ! Good luck hussein, you're the best.
Great video ..I reached till the end ...Thank you 🙏🙏🙏. TCP used for database and UDP for DNS and gaming application.. Can u show some realtime stuff abt how actually they use it ..just like the demo
Get my fundamentals of networking engineering udemy course head to network.husseinnasser.com for a discount coupon
You have taught me 2 semester worth of knowledge in a few hours !!! Thanks for your long videos...love your work
Jeron Lloyd thanks Jeron for taking the time and leaving a comment. Really genuinely happy that I could help. Cheers !
same for me
Damnm, you guys study networking for 2 semesters
Most undergrad programs I know of only have a single subject of "Computer Netwoks" in the sophomore year...
Nobody in the history of mankind has ever explained tcp and udp this perfect way. Thanks.
Great video as usual. 33:51 The reason you got 3 byte is because you piped "hi
" and in the TCP example it was "hi
" as it was sent by pressing enter in the terminal. 13 is the ascii number for carriage return
and 10 is the ascii number for newline feed
.
It’s usually a windows vs unix thing. I believe that it happens because different tools were used for sending data. And they just adhere to different standards.
The logic behind having “/r/n” is related to printers. This way you could send all file characters to the printer and it would know to go back to the left and drop to a new line. Unix (or at least the modern ones) says that it’s redundant and just rolls with “/n”.
Sometimes this can cause weird git commit if the developers don’t stick to the same new line encoding and may even cause python scripts to malfunction on different systems.
I'm currently at your fifth video in Backend Engineering Playlist. Really appreciate your contents. You're doing wonderful things.
glad its useful!
I am a software engineer (backend dev primarily) for almost 2 years now. kinda got interested in the DevOps field lately and these videos are a refresher. Very well explained and I hope that others will benefit from it too. Thank you so much Nasser for your time and effort into creating videos for the 'Backend Engineering' series
I highly appreciate that you go in-depth on these subjects. It really helps me to retain information when I have the full context behind it.
Honestly dude, I have been looking more into your tutorials and this stuff is just amazing. Love how you keep it with minimal code while demonstrating understanding for the basic concepts. Genius...I AM A FAN OF YOURS NOW.
Loved the video! Thanks, my networking prof was very boring so I skimmed these topics just to pass the course. Now that I've interviewing for backend engineering positions at large companies, all the gaps in my knowledge is coming back to bite me in the ass! Your videos are great and are really helping me go over topics that I haven't thought about for a while / barely learned. Thank you for making these, it is literally directly influencing my life. Thanks again!
Best video for some one who is just getting into software engineering. Love the long video format upto 40mins-1hr. Thanks a lot Hussein Nasser, you are a great teacher. Please keep adding more content!
It's like a friend is telling a story around the campfire somewhere in Mt. Shashta/NorCal and everyone is listening intently. Thanks Hussein.
For anyone like me who struggles to understand low level fundamentals of modern software engineering - your channel is a splendid place! Thanks so much Hussein for your hard work!
This is my first comment on TH-cam in life. This guy's humor and teaching skills are exceptional. GREAT CONTENT
I am honored to receive your first comment 😊 thank you so much for taking the time to watch. Glad you liked the content
@@hnasr Hi, I see you are bit of a nodejs enthusiast too. It would be great to have a "Hussien Nasser" style video of under the hoods of node, specially event loop, libuv and related internals. Just a thought.
I have become your fan. I have been trying to learn backend for 3 years and every time the topic came up - I procrastinated, ended up honing my skills at front-end, UI, design etc.etc. Not only your videos are so explanatory but you have made the topic so interesting that a beginner like me can truly enjoy it, would want to sneak deep into it. Thank you so much.
appreciate it dear thank you! all the best on your career
This is my first TH-cam comment since I started watching TH-cam which might be several years ago.
I reached till the end and first time I understood the differences between TCP and UDP so clearly.
Thanks for such crisp and detailed quality stuff
Thanks for watching! Glad you enjoyed the content
Newly hired backend SWE here, just letting you know I finished this video and watching your beginners backend engineering Playlist. I appreciate all the content you make.
Dude, I just wanna say thanks for the video, very informative and well structured. I'll admit, your accent can be a bit hard to follow at times but overall still coherent. looking forward to watching more of your content.
I'm thoroughly enjoying your explanations. They're invaluable! Much love, excited to watch your channel grow. Thank you!
Thanks Hussein, you are a superb educator. Love the thoroughness in your videos. Even though I have been working as a developer in the industry for a number of years I always learn something new on this channel and it enriches my understanding of what the heck I'm trying to do. Keep up the great work!
You are making me a backend engineer
I will send you a check when i get a job soon
Hey I reached until the end! This is amazing! THANK YOU!
nunca pierdas la clase thank you 😊 i am glad you enjoyed the video!!
Thanks for posting these. It’s really helpful. I’m taking an intro to networking course and these videos are are way better than the course material/lectures.
Your channel made backend engineering more fun for me. Your videos provide the best foundation to learn about a topic and set the path to dive deeper.
I've reached the end and am now going back to The Complete Guide to WebSockets
.
You make back end easy to understand, thank you.
Thanks for watching! Hope you are enjoying the content , take your time and ask questions ❤️
Great video. This is the first time I have ever understood TCP and UDO properly. Beautifully explained.
Hey Hussein, I reached the end! This was a truckload of reliable and deep knowledge for something I suck at right now. Thank you for your content as always, big fan and evangelist here :)
I reached until the end, thanks for the long videos and all the insights!
The best explanation to TCP and UDP through this video! Cannot emphasize how useful this was, in-depth, crisp and well-explained with examples 💯💯
Gonna check out the entire playlist now 🙌
This was really one of the best videos I have seen on TCP and Udp. Thanks Hussein
Reached to the end. Never knew you could build Servers in Nodejs for tcp and udp. Very insightful, Thanks
reached the end, not sure why i saw your videos but they are addicting so i'll watch more in coming days :)
❤️ thank you for watching
wow, I made it to the end! It refreshed my knowledge about UDP and TCP, thanks a lot!
Nice 👍
My man's been on fire lately. I really appreciate this content. It feels wrong to consume it for free, it's so good.
"These exotic foreign hosts, man. They keep closing these connections, man!" 23:58 hahaha!
Appreciate the long explanations. Shows how knowledgable you are with the topic, includes easy to understand examples and insights. Looking forward to more!
In the udp code test maybe 'w' means wait i dunno...
Thanks Rod for your message! Appreciate you
love from all the engineers on this engineering day. Thankyou Hussein.
Also I reached till the end.
Sending love ❤️ back to all engineers
One of the better explanations on this subject on TH-cam, thanks
22:55 you had me laughing out loud 😂man, I recently found your channel and I want to say I really appreciate your videos and what you do, teaching us so much while also just sharing your thoughts and authentic self. You're helping tons of people and spreading positive energy, particularly in a community that doesn't have enough of it, imo. Thank you so much!!!!
Man you are the GOAT! learn more from that JS code server stuff than all the hours put in before. Keep on teaching mate! Natural
I wanna thank TH-cam for recommending your video. Your style of teaching is addictive! 😃
Coming from the field of physics and wanting to understand everything to a deeper level, this is gold to start getting into networks eng!
Super video! I applauded for ₹100.00 👏👏
Make a video long as long you want . I wanna understand everything in depth . Thank you so much for these videos .
you always say that your videos are too long, however my friends and I are your fan because we believe you explain essential and important sessions in short videos :)
Love from India, Brother. Keep making longer videos. You are a mentor i wish i had access to in person
Thank you so much husseine, I started my journey to be a software engineer inshaa Allah , and I can say your videos have being very helpful and has made me understand what happens under the hood.
Allahuma barik 😊
Amazing stuff !!! I watched from start till the end in one sitting and not only this video but I do this for all of your videos. Keep posting, thanks.
I have written my networking paper by cramming all these and spitting out in the examination paper.
But now after watching this video till end, I really learnt a lot.
Looking forward to learn more. 😇
God there's so much value in your videos, literally the most useful educational videos on TH-cam
Hey I reached until the end. Thanks and I am binge-watching your Backend playlist for beginners today
Enjoy 😊
Thanks for this wonderful material! It would also be cool to see how Telnet actually found out that the connection was closed when you terminated the TCP server.
Thank you Hussein 🤝 You had described a lot of stuff that rarely even discussed in the TH-cam world.
Great vid as always dude, just started liking each one and have subscribed!
We need more teachers like you. @Hussein, Kindly start teaching to teachers especially of Institutes where faculties makes interesting lecture so boring. You are amazing 🙂 !
I reached until the end. And I think you do a good job explaining complex things in a NOT boring way. Cheers!
I watched till last. Thank you for showing coding part of UDP and TCP both.
"There is one W in timeout" back end engineers truly speaks an other language
Unbelievable work, if one day a get to teach at university I'll 100% try to be as good as you
I made it to the end and I am still going on to the next, thanks for the good work.
You are really helping me in getting my CS fundamental correct.
I just want to say, Absolutely love your videos. Also great point when you said your videos are long because you try to cover all information, I have seen 5 min TCP videos which don't explain anything. Keep up the good work
❤️❤️ thank you
I literally binged your channel and just subscribed now.. please make lot of longer videos with in depth explanations. Really liked your videos
Made it to the end. Thanks. Your videos really help keep me awake during long drives.
Gratefulness from Taiwan...really love your videos, can’t wait to watch the next one!
I reach till the end, it's just make sense. Thanks for the video
thank you so much! I can finally say I have a much clearer understanding of concepts like DOS, congestion control, acknowledgment than I did earlier by mindlessly going through all those videos and pages after pages of very difficult explanation.
Even though I knew about TCP and UDP, I reached at the end of video. You represented it so nicely. Your videos are very entertaining, I don't really feel any learning stress.
Honestly man.. enjoying your explanation.. You channel have lots of lots of high quality content videos..I must watch all of them..I am sure I'm gonna do this.
obligatory I reached until the end :D thanks for much for this and all of your videos!
I love how long the videos they are. So much better than reading
Thanks! I am glad you enjoy the length or the video, its very difficult to explain various related topics to clarify the main one in a short video.
Hey, I reached until the end ! The depth of your content is really amazing. Thanks for such amazing videos.
Great content Hussein. One tip, upload your videos at 1.25x, this will bring down the video length.
Hey I reached until the end! THANK YOU!
Made it to the end lol
Thanks for the video, man! Thought I lost a bunch of fundamentals and now trying to recollect it slowly and your vids help a lot!
Anyway I think you should keep post the long video, it serves the right amount of info I guess. Nice one!
Oh and maybe you can address what to learn next or some references to check out to after watching the vids, it might help some ppl who's just trying to learn step by step
Thanks Ardy! And good idea to what to learn next. I can use end screens for that or a playlist.
I suggest the TCP 3 way handhake next th-cam.com/video/bW_BILl7n0Y/w-d-xo.html
@@hnasr Thank you!
Yes and actually I watch your videos starting with the Backend Engineer Playlist, in order. If it's already in the right order then it's cool! 🙇
Hey Hussein, thank you! I love your passion and your humility. Would love to sit down with you with coffee to discuss the vagaries of software engineering! After watching three of your videos, I am hooked!
I'm addicted to your tutorials, thanks
I reached until the end! Love your vids Hussein!
You are inspiring a ton of backend engineers . Having so much fun while going through your videos.Thanks a lot man:)
Great work man. I really like all of your videos. It really clears the concepts. Thanks for such a good work. #KeepBeingAwesome.
mohit dhingra thanks Mohit! Appreciate it and glad I could help. Stay Awesome!
HTTP which is stateless uses TCP/IP protocol. But TCP/IP is stateful. How does HTTP use TCP if one is stateless and protocol it uses is stateful?
Great question! The implementation of HTTP itself is stateless, that is achieved by hiding the underlying TCP connection. Example you as an HTTP client do not have access to the stateful tcp connection, so if the connection broke, disconnected or the server just restarted etc.. the HTTP client will establish a new tcp connection without you knowing and it will work normally. This is also possible because HTTP is a request response system..
However if you are a client that directly use a raw tcp connection ,and that tcp connection is closed or. the server got restarted. You are maintaining the state of the TCP connection and guess what its gone. Now your application state is “disconnected” so you are responsible to reestablish the connection yourself..
back to the definition of stateless, if the state is gone the application should keep running.
Hope that helps..
@@hnasr Thanks for the reply. I now understand. 😊
Great question and great answer
Great stuff. I need watch all videos on this channel
Great
Hey, I reached until the end! Very useful! Thanks!
Hey I reached till the end. I really enjoyed your video. You put a lot of efforts to understand the concepts. Thank you for this. Plus the examples you showed were like the cherry on the cake. :)
I reached until the end. Thanks for the effort to explain.
Hey Thanks so much! Really shows how much you put effort without expecting anything in return. Giving is a bliss❤
Hey Hussein, I reached the end. Love your tutorials, Thank you so so much!
Not boring at all, finished the whole video in a go
Thanks for your video, it's very good to understand deeply about the network layer, now I can say I understand TCP/UDP and can make choice if needed later
Hey! I reached until the end. THANK YOU! for this amazing content.
You rock! thanks Varun!
Wow, your video is excellent. I refreshed my knowledge after watching it!
Reach until the end. I like your idea of explaining this theoretical and sometimes boring things with examples. I wish they would have done the same in my university. It makes your channel different. Keep it up!
So happy you like the content and I will keep them coming 😊 thanks for watching
Very Good. Long videos are good. Packed with code and facts. Perfect.
Superb explanation! Glad you are helping the community. Keep up the good work :)
Hey reached till end..! Really appreciate your effort mate :)
Great video, learned a lot! Also very good sense of humor. Looking forward to learning more from your videos!
Well Hussein , it was nice but keep in mind we are beginner to the beginner. I felt many times in video that you are not explaining to the complete noob and some background knowledge is required other than your previous video. So thank you for these amazing videos but keep them simplified and detailed (no problem with lengthy videos). Always keep in mind that you are explaining these to complete noobs. Thank You.
Thanks for the feedback!
Hey I reached until the end! This is amazing! THANK YOU! looking forward to learn more
Dude, I love the way you're teaching things, and how you demystify concepts and explain them in great details.
I would really like to support your channel, so can you please guide me on how to do that !
Good luck hussein, you're the best.
As always SPOT ON !!
Thank you for your hard work !!
Watched through the whole thing to broaden my backend knowledge.
Really love your enthusiasm! Content is very well delivered and explained in a very entertaining way!
Great video ..I reached till the end ...Thank you 🙏🙏🙏.
TCP used for database and UDP for DNS and gaming application..
Can u show some realtime stuff abt how actually they use it ..just like the demo