🌐 Network Programming in Rust - Building a TCP Server

  Рет қаралды 22,087

Bek Brace

Bek Brace

Күн бұрын

Пікірлер: 75
@dantesbytes
@dantesbytes Жыл бұрын
the fact that you explained everything line by line is priceless, I'm confindent that you wrote this yourself unlike 99% of the vidoes i come across on youtube seems like most of them don't have clue as to what they are teaching .
@BekBrace
@BekBrace Жыл бұрын
Thanks so much for these words🙏. Indeed I've written it myself 🙂
@oglothenerd
@oglothenerd 2 ай бұрын
You are the first channel I've seen that covers high level and low level stuff! Great work!
@BekBrace
@BekBrace 2 ай бұрын
Thank you very much 🙏😊
@pabloalic6393
@pabloalic6393 2 ай бұрын
This video is crazy high quality! Everything explained crystal clear, loved it!
@BekBrace
@BekBrace 2 ай бұрын
Wow, thank you!
@orrenjenkins289
@orrenjenkins289 Жыл бұрын
5:15 std::io::Read and std::io::Write are traits in the std::io module
@anthonywilliams9334
@anthonywilliams9334 10 ай бұрын
Excellently executed tutorial. Blow by blow, line by line. Subscribed.
@BekBrace
@BekBrace 10 ай бұрын
Thank you so much, Anthony 🙏🙂
@anashe5417
@anashe5417 9 ай бұрын
this video it's just perfect, I have no words to describe how amazing this is. Thanks a lot and the way you teach these things is just incredible.
@BekBrace
@BekBrace 9 ай бұрын
Thank you very very much for your kind words ❤️🙏 Your feedback is what pushes me forward to create more and more content | ••• Thank You !!!
@symshark
@symshark 11 ай бұрын
This was great, looking forward for the Tokio tutorial!
@simonkalu
@simonkalu 11 ай бұрын
Wow! very precise and clear.
@BekBrace
@BekBrace 11 ай бұрын
Thank you
@chaudharypraveen98
@chaudharypraveen98 10 ай бұрын
Thank you so much for depth knowledge
@BekBrace
@BekBrace 10 ай бұрын
I am so glad you enjoyed it
@bEan-cf7mx
@bEan-cf7mx Жыл бұрын
Can you make a video about Tokio please :)
@BekBrace
@BekBrace Жыл бұрын
Certainly )) Thanks for suggestion
@MPAXEL
@MPAXEL Жыл бұрын
can't wait :)
@BekBrace
@BekBrace Жыл бұрын
See You :)
@xsamuelx3603
@xsamuelx3603 Жыл бұрын
Amazing video, my friend :)
@BekBrace
@BekBrace Жыл бұрын
Thank you very much 🙏🙏🙏
@mohaniya15
@mohaniya15 Жыл бұрын
Great video, I have just started with Rust videos on my channel, this really helped me.
@BekBrace
@BekBrace Жыл бұрын
Great my friend ! Cool channel by the way, good luck in your journey 😀
@abayaz61
@abayaz61 11 ай бұрын
amazing content. please continue to rust series
@BekBrace
@BekBrace 11 ай бұрын
Hey! Thank you so much: More Rust to come!
@nalayak862
@nalayak862 Жыл бұрын
i am just three days into rust and i will still watch it
@BekBrace
@BekBrace Жыл бұрын
Good luck and happy coding
@AchroDev
@AchroDev 8 ай бұрын
Love the video! Thanks for sharing your knowledge. I think it would have been better for the address to have been stored as a variable. This helps with a couple of things, but mostly saving you from re-writing the same string over and over. let address = "127.0.0.1:8080"; let listener = TcpListener::bind(address).expect("Failed to bind to address: {address}"); println!("Server listening on {}", address);
@BekBrace
@BekBrace 5 ай бұрын
Absolutely. Thanks for the better code snippet.
@vladyslav-py-js-go
@vladyslav-py-js-go 10 ай бұрын
That's so interesting 😁
@BekBrace
@BekBrace 10 ай бұрын
Thank you very much 👋☺️
@svetlana9699
@svetlana9699 Жыл бұрын
🔥🔥🔥
@BekBrace
@BekBrace Жыл бұрын
Thank you 😊😊😊
@swapCode
@swapCode Ай бұрын
I like your way of explenation and thanks for your effort and energy. I know just some basic with Rust and I like to learn it well do you think is good approche to just build what I need and learn in the way?
@BekBrace
@BekBrace Ай бұрын
@@swapCode Yes absolutely! Learning by doing is the best teacher 😉
@swapCode
@swapCode Ай бұрын
@BekBrace alright i have some idea 💡 to build with Rust. Which advice you can give me?
@jaysoni93
@jaysoni93 Жыл бұрын
When is the next video coming In this series ?
@BekBrace
@BekBrace Жыл бұрын
Next Month, there will be a new video in the series, thank you for your patience.
@xsamuelx3603
@xsamuelx3603 Жыл бұрын
What's your terminal setup?
@BekBrace
@BekBrace Жыл бұрын
Yo .. check out my video: PowerShell Terminal Setup - all explained there/ peace
@cahwardev9804
@cahwardev9804 Жыл бұрын
Amazing video! What is the font and the color theme that used in the video?
@BekBrace
@BekBrace Жыл бұрын
Thank you. Theme: Bearded Theme Black & Ruby Font: Caskadiya Cove
@Pennipurilainen
@Pennipurilainen 5 ай бұрын
​@@BekBraceAre you sure? Cause they look way different for me.
@VasilMagaranov
@VasilMagaranov 9 ай бұрын
What happens, if the buffer is not large enough to read the whole message from the stream? I tried reading twice and concatenate the results into the string, but it didn’t seem to work…
@HumanoidTyphoon91
@HumanoidTyphoon91 9 ай бұрын
Hate to be that guy, but what's your color theme? It looks amazing!
@BekBrace
@BekBrace 9 ай бұрын
No problem at all, my friend anything you want 🙂 the theme is VIM dark
@iamprincemuel
@iamprincemuel 5 ай бұрын
​@@BekBrace Hi, can't find the theme in the Vscode marketplace
@BRISKLYHIDDEN
@BRISKLYHIDDEN Жыл бұрын
Slam Dunk 🏀
@BekBrace
@BekBrace Жыл бұрын
Yeaaaah
@8rupees718
@8rupees718 10 ай бұрын
What extentions do you use for rust?
@BekBrace
@BekBrace 10 ай бұрын
just Rust Analyzer
@8rupees718
@8rupees718 10 ай бұрын
@@BekBrace Thankyou Very much
@BekBrace
@BekBrace 10 ай бұрын
Anytime 😊
@shivanshuraj7175
@shivanshuraj7175 6 ай бұрын
How you can handle more than one connection without a loop encapsulating tcp incomming?....
@xtremistdude92
@xtremistdude92 6 ай бұрын
Create separate threads to handle each client
@BekBrace
@BekBrace 4 ай бұрын
you got your answer already I see
@skyeplus
@skyeplus 11 ай бұрын
Hi. Isn't [0; 1024] mean 1024 ints? Or the type is being adjusted to u8 after it's use in read()?
@BekBrace
@BekBrace 11 ай бұрын
So, when you see 0; 1024, think of it as a space reserved for 1024 elements. It's like having a box with 1024 slots, ready to store stuff. You know what I mean ? And what type of stuff goes in those slots depends on what you're doing with them.
@skyeplus
@skyeplus 11 ай бұрын
​@@BekBrace​I found the answer: "Unsuffixed literal, their types depend on how they are used". So 0 literal retroactively binds to u8 a fine grained type upon buffer use in read().
@harbi.delikanli
@harbi.delikanli Жыл бұрын
Awesome video! May I ask the font name and color theme name? Thanks.
@BekBrace
@BekBrace Жыл бұрын
Thank you! Theme: Bearded Theme Black & Ruby Font: Caskadiya Cove
@kjakkakakka
@kjakkakakka 5 ай бұрын
Theme?
@BekBrace
@BekBrace 5 ай бұрын
Don't remember, sorry
@drac8854
@drac8854 Ай бұрын
I cannot find part 2 of this video??
@BekBrace
@BekBrace Ай бұрын
@@drac8854 no part 2 !!
@drac8854
@drac8854 Ай бұрын
@BekBrace 😔😔 what about response??
@BekBrace
@BekBrace Ай бұрын
I told you no part 2, what other response do you expect ?
@landry_sb
@landry_sb Жыл бұрын
can you makea vid on how to make your device a priority and if possible involving the use of rustlang if it get uploaded can you please tag me or forward link as a reply
@BekBrace
@BekBrace Жыл бұрын
Hi and thank you for this question. So, to prioritize your device using Rust, you can leverage Rust's thread module to set thread priorities through std::thread::Builder. Alternatively, for more granular control, use the libc crate to interact with the operating system API, allowing you to set process or thread priorities directly. Remember to test your application, monitor system behavior, and adjust priorities cautiously to avoid adverse effects on overall system performance and stability. Have I answered your question ?
@DEBBAH1907
@DEBBAH1907 3 ай бұрын
bruh, you don't need to write "this line" before everyone comment...
@BekBrace
@BekBrace 3 ай бұрын
@@DEBBAH1907 bruh, you can simply ignore it, bruh
@PozovShmon
@PozovShmon 2 ай бұрын
Было бы это на русском еще, былоб вау
@BekBrace
@BekBrace 2 ай бұрын
Спасибо. Подумаю))
Tonic makes gRPC in Rust stupidly simple
19:08
Dreams of Code
Рет қаралды 55 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
How To Build A Custom TCP Server In Golang!?
19:32
Anthony GG
Рет қаралды 35 М.
rust runs on EVERYTHING (no operating system, just Rust)
18:10
Low Level
Рет қаралды 368 М.
8 deadly mistakes beginner Rust developers make
14:14
Let's Get Rusty
Рет қаралды 182 М.
Use Arc Instead of Vec
15:21
Logan Smith
Рет қаралды 167 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 362 М.
Rust Error Handling - Best Practices
21:33
Jeremy Chone
Рет қаралды 28 М.
Understanding Rust Closures aka. Anonymous Functions 🦀 💻
30:22
Trevor Sullivan
Рет қаралды 18 М.
10 Signs Your Software Project Is Heading For FAILURE
17:59
Continuous Delivery
Рет қаралды 42 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН