

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: TCP
incomplete
2: TCP vs. UDP
incomplete
3: UDP Sender
incomplete
4: Files vs. Network
incomplete
This lesson's interactive features are locked, please to keep using them
So we've seen that a TCP sender (in our case nc, or netcat) requires a connection to be established before data can be sent. Let's build our own UDP sender to see how it differs.
Create a new program that yeets UDP packets at a server. We want to fully understand the difference between TCP and UDP.
On some systems you may need to add the -k flag to keep the listener running after the first packet is received: nc -u -l -k 42069
However, your OS might yeet you like UDP yeets packets.