Socket Programming in C for Beginners | Group Chat Application | Multi Threaded + Multiple Users|E4|
Вставка
- Опубліковано 8 лют 2025
- in this episode, we will learn socket programming in c language by writing a group chat application from scratch that multiple concurrent clients can connect and talk to each other.
this series is the ultimate Socket Programming full course,
it includes explaining :
what is socket programming,
what is ipc or inter process communication
what is tcp and udp and tcp vs udp,
what is Berkeley Sockets,
and tcp and udp socket programming in 4 major languages, in c and C sharp and python and java
and we will write chat application and http server and http client with socket programming in java and c and c sharp and python.
each episode will explain a standalone section.
by watching this series, you could master the socket programming from scratch and step by step by in depth explanation.
GitHub Repo: github.com/mas...
🚧🚧🚧🚧🚧🚧🚧🚧
Assets That have been used in this series is free licenced by www.freepik.com and the title of assets are:
all-country-flags-euro-cup
book-notebook-doodle-hand-drawn-icon-symbol-education-concept
cardboard-boxes-icon-collection
cracked-metal-pipe-flat-design
curve-winding-roadway-background
email-campaign-concept-illustration
happy-couple-resting-sofa-armchair-living-room-reading-book-watching-movie-laptop
happy-family-cleaning-apartment
illustration-set-post-delivery
people-spending-time-living-room
3351
rabbit-runs-fast-turtle-runs-slow
set-window-elements-design-architectural-construction-drawings-illustration-black-color-isolated-white-background
workers-construction-site-dressed-protective-vests-helmets
business-men-drive-side-photos-cars
car-dashboard-radio-closeup-woman-sets-up-radio-while-driving-car
driver-driving-car-interior-view
rabbit-runs-fast-turtle-runs-slow
face-expressions-illustrations-emotions-feelings
flat-lay-chat-bubbles-with-telephone-receiver
kissclipart-form-png-icons-clipart-computer-icons-clip-art-b4ba062c9a050b32
kisspng-c-foreach-loop-while-loop-conditional-c-c-sharp-array-dimensional-single-dimensiona-5c79fe607321d9.0852754315514988484716
mailboxes-apartment-building
man-hand-holding-virtual-world-with-internet-connection-metaverse-global-business-marketing-banking-financial-pass-thru-application-technology-concept
muscular-car-service-worker-repairing-vehicle
person-placing-blue-cassette-tape-music-player
two-hesitant-unshaven-man-dissatisfied-woman-shrug-shoulders-feel-unsure-have-doubt-while-make-decision
If every one explains like you I can say that every one will be a programmer. Appreciate your hard work sir. Please keep uploading.
totally agree with you
phul suppart sar.
Totally agreed
In 2003 when we were undergraduates, there was no internet in the lab, and we had this type of terminal chat thing to pass the boring lectures… 😂
I thought it is a rocket science but you presented is really easy to understand.
You could explain that easy because you must have very much basic knowledge, and you didn't even use any boiler plate code(really great way to teach). Really appreciate your work. Thank you so much.
Hey, I usually don't comment under any videos, but after I watched yours, I had to let you know you're a very good and talented teacher.
It's very hard to find videos in which the programmer tells you about everything they write, what it does and why they use it.
Great video, thank you.
great lecture brother, got the key idea how multithreading works in socket programming , keep posting videos like that.
thanks.i’m glad that it was helpful.i will try make better videos
Ok, so I came here AFTER reading through the manuals and being a little confused, but this top-tier lecture actually helped me a lot
I have done some socket programming in JAVA, recently needed for C, couldn't find anything. Then I found your videos, this is the most detailed explanation of sockets and threads in C that I have some across
Istg this tutorial is top tier
Thank you so much for this video!! It's the best one on sockets in C I've watched, really detailed. Now I understand everything completely. I'll definitely follow you and check other videos. Have a great day!
Awesome video. I love the fact that you explain everything. Most tutorials don't do that
Hello there,
I just came here just after watching other creator socket video but your is best ...
I am more motivated to deep dive in the c lang
Your teaching style is incredibly clear and concise, making complex concepts easy to understand. Thank you for breaking things down so simply! 👍👍👍👍👍👍👍👍👍👍
Great intro into network socket programming! Thank you so much!!!
Extremely helpful! I could create my project on multi client-server using multithreading thanks to you
underrated vid lmao couldn't find anything remotely close to being this good
you are best teacher bro u know i loved this really❤
Awsome lecture. Keep the work up. I needed to say it rsrs.
I really like this content :)
Very Good Explanation.. Make more videos like this on Socket Programming..
thanks just got into C some days ago and discovered about sockets and got really interested, didn't found any from scratch comprehensible tutorials and yours was really good, will you continue?
i'm kinda busy at the moment, but i'm not sure whether i'll be able to continue at the moment
I just came back to this video, and WOW!, I just surprised, You are a great teacher.
Thank you! 😃
Thanks! This is fantastic
Amazing explanation!
so descriptive and helpful , tnks
Glad it was helpful!
Great video !
Great explanation thank you for your sharing.
thank you so much, great tutorial!!!
The video and content quality is supper. You will become a great creator soon if continue
Thx bro this is really helpful
Great job
thank it was really helpful ...............
This is great, thx so much
great explanation and application example! Thank you
Glad you enjoyed it!
What OS are you using , it looks so pretty
Thamks so much man, you are really the best channel on youtube, and an extremely good teacher.
im listening with headphones on and i flinch every time the transition screen comes up hahah. Anyways, thank you for this video! its helping me in a school lab (:
You're welcome 😊
Great as always ❤
Thanks again!
Amazing tutorial. +1 sub
that "buffer[amountrecived]=0 was interesting i didn't know
can you share some resources like books or any other thing from where i can learn socket programming? Please reply my comment. It would be very grateful
How did you add the library ?
Hello can you make a video on Http protocol and also make a http server
Hi, I was wondering how did you set it up to show that kind of method documentation in clion? Just started using it and I don’t have it.
nice vid. it worked for me but dear god the abstraction.
nice
Hi, great video! Is it a way to build and run it from command window? What steps should I do to run it without IDE?
You can just compile using gcc and link what is required I haven't fully finished the video but its worked for me so far
Can we establish a connection with Wss URL in c or c++ directly as we did for with IPV4?
My know what IDE you are using and how to setup the environment?
I really like the suggestion you are getting from the IDE
It's jetbrains clion.
Can we use this way for any kind of operation systems? Or what are the limits of this approach? And I can use this method in C++, can't I?
can we use select(),and fd_Set to use non blocking calls,and if there is non blocking architecture i think then we don't need threading. can you share your thoughts and opinion ,or can we create these servers without threading?
I'm stuck here 42:32 . I'm not getting any output (or error message) help
Is it because I'm using linux in wsl?
also I don't know anything about cmake or header files. I made a c file, put the common code and and included in the main files.
Please, can you make another video tutorials on Threads in C language?
i’ll do the moment i get some time.i’m busy doing a project at the moment
is it compatible with windows?
This tututoial is going to help me I reckon. 😢
What is that app ‘CL’
Sir, how to make GUI for it ?
What application and operating system are you using
CLoin as IDE and Ubuntu as OS
Holy shit, best channel on youtube
How did you add 30:29
Did u find?
Why skype?
It would be a big help if you could post the code somewhere!
off course.here you are, the github repo:
github.com/masoudy/CSocket
Amazing info but the monotone voice is making a number in my ADHD.
function names 💀
blagh
The only reason you have little subscribers is because you are censored for giving away so much information for free.
Hard to understand when you are debugging while you go. Plan your tutorial better and know what you want to present instead of doing it on the fly. Also, you shouldn't use your IDE to extract and create function and instead assume no one is using the same IDE as you. Instead, re-write it line by line. I'm sure it is my lack of understand of the C programming language, but you lost me as soon as you started writing your C server. You should teach how to write all of those functions from the get go instead of changing the code up near the end
I was glad when i found his vid, now I'm stuck on this issue for two days
you are right, i’ll do my best to take into account all of the issues that you mentioned, thanks for your productive critical point of views 🙏🙏🌺
This video is great. I think @wasekaug just needs to learn more on his own so certain concepts don’t seem so hard. I’ve been there before.
9
Let’s see your tutorial videos