Building TCP & UDP Servers with Node JS

preview_player
Показать описание
In this video I will explain how to build a TCP & UDP servers with Node JS

TCP and UDP are communication protocols that allows us to send and receive data in a network. We have both for a reason since each has its advantages and disadvantages. In this video we will talk about two protocols, pros and cons of each one and will write tcp and udp server with nodejs showing you these in ACTION. We also talk about how reliable udp is used in gaming for intermitted network connection.

Code!

TCP vs UDP Full Video

🏭 Software Architecture Videos

💾 Database Engineering Videos

🛰 Network Engineering Videos

🏰 Load Balancing and Proxies Videos

🐘 Postgres Videos

🚢Docker

🧮 Programming Pattern Videos

🛡 Web Security Videos

🦠 HTTP Videos

🐍 Python Videos

🔆 Javascript Videos

Support me on PayPal

Become a Patreon

Stay Awesome,
Hussein
Рекомендации по теме
Комментарии
Автор

Bro you're funny. You bombed the tutorial btw.

marsrover
Автор

3:39:
13 - carriage return
10 - line feed

DarshanSenTheComposer
Автор

Thank you for this demonstration, perfect way for someone new to grasp the idea behind how this works.

sr
Автор

Your "Hi" reminds me of Ross from FRIENDS show

AmanNidhi
Автор

انت نموزج عربي محترم و يفتخر به اتمني لك التوفيق دائما

naderhany
Автор

Hey hussein how can you amaze me so many times..

abhilashb
Автор

Hey Hussein, when using UDP protocol, the client and server should mutually decide what should be the max size of the data to be sent on a single packet to prevent data loss, right?

sujan_kumar_mitra
Автор

Hussein, there is no w in timeout, they chose w as in wait time, max wait time. Cool vid, btw

shadow
Автор

Hi Hussein Nasser, Happy New year. Thanks for these awesome videos. Can you please make a video on the Use of multiple Network Interfaces (Physical & Virtual).

pkcc
Автор

why do we need to give the port "8080" while connecting in commandline? we are giving it as a parameter to the server in the code.

paymankhayree
Автор

Hola Hussein Haproxy and Keepalived ... :-)

omaramine
Автор

Is there any Javascript library to show network traffic in system. Like Glasswire or any other network monitor-type so we can monitor how much data packets have been send or recieved.

Shashanksoni
Автор

How can we implement rooms and namespaces using the core net module?

antriksh
Автор

Hello, Hussein. I am interested with your tutorial.. I have a question, I have built node js server on heroku, but the server didn't receive the data from the client. Would you mind to give me some advices? Thank you!

aguspray
Автор

How to do it between pc on two different network or ip address

matthew
Автор

Ii don't understand it's the same in TCP also after restarting client can send message

omkarpawar
Автор

i think the amount of bytes the carriage return takes depends on the program that sends the packets

mohamedelidrissi
Автор

hi could u tell me how the nodejs sever side visit a third server and get file or data?

lixiang
Автор

is there an way to make the server to talk what you want

Odsku
Автор

why does everyone use node i need to know web browser code