Socket Programming in C for Beginners | Group Chat Application | Multi Threaded + Multiple Users|E4|
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: https://github.com/masoudy/CSocket
🚧🚧🚧🚧🚧🚧🚧🚧
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
by STUDevLantern
linux http server
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?
thank it was really helpful ……………
What is that app ‘CL’
Extremely helpful! I could create my project on multi client-server using multithreading thanks to you
nice vid. it worked for me but dear god the abstraction.
is it compatible with windows?
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.
Great explanation thank you for your sharing.
If every one explains like you I can say that every one will be a programmer. Appreciate your hard work sir. Please keep uploading.
great video and explanation. thanks
Amazing tutorial. +1 sub
How did you add the library ?
Thanks! This is fantastic
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
Thanks. This is a realy good tutorial that helped me get started!
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!
Awsome lecture. Keep the work up. I needed to say it rsrs.
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?
Amazing info but the monotone voice is making a number in my ADHD.
you are best teacher bro u know i loved this really❤
underrated vid lmao couldn't find anything remotely close to being this good
Can we establish a connection with Wss URL in c or c++ directly as we did for with IPV4?
This tututoial is going to help me I reckon. 😢
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.
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?
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
My know what IDE you are using and how to setup the environment?
I really like the suggestion you are getting from the IDE
The video and content quality is supper. You will become a great creator soon if continue
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
great explanation and application example! Thank you
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 (:
The only reason you have little subscribers is because you are censored for giving away so much information for free.
Thamks so much man, you are really the best channel on youtube, and an extremely good teacher.
Holy shit, best channel on youtube
How did you add 30:29
What application and operating system are you using
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
Very Good Explanation.. Make more videos like this on Socket Programming..
Great job
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?
function names 💀
so descriptive and helpful , tnks
nice