TCP and UDP - CompTIA A+ 220-1101 – 5.10
About
No channel description available.
Latest Posts
Video Description
Let’s have a look at TCP and UDP. Download PowerPoint: https://itfreetraining.com/handouts/ap11/5c05.pptx TCP and UDP TCP stands for Transmission Control Protocol. The protocol guarantees a connection and delivery of packets over the connection. You will often hear this protocol referred to as connection-oriented. For the exam, know that TCP is connection-oriented and that means guaranteed connection and delivery. You may get a question on it. The other method of transmitting data is UDP, or User Datagram Protocol. This protocol is "fire and forget." Thus, it is often referred to as connectionless. Make sure you know the difference between the two. I will take a deep dive into the protocols to help you better understand how they work. For the A+ exam, you only need an understanding of the basic concepts. When I have finished the deep dive, I will give you a summary of the major points. Let's have a closer look at these protocols. TCP 3-Way Handshake TCP uses a 3-Way handshake, which essentially is a three-step process used to create a connection. To understand how it works, consider that you have a client computer. The client computer wants to make a connection to a server. In order to do this, the client sends a SYN message to the server, SYN being short for synchronize. The SYN message configures certain values, for example, a random sequence number. More on that later in the video. The server sends a SYN-ACK message back. This message acknowledges that the SYN message was received and the server sends its own SYN which will be a random sequence number. More on that later in the video, I promise. The last message is an ACK message. This message is from the client to tell the server that the configuration and sequence numbers have been agreed upon. Essentially, a TCP 3-way handshake has been done so both sides can negotiate parameters before data transmission. Once the final acknowledgment is sent, both sides are now ready to send data. Now that we understand what the 3-way handshake is, let’s have a look at the sequence number. Sequence Number A sequence number is a number representing the number of bytes sent in the data stream. The data is sent in segments, which can vary in size. The sequence number is used to acknowledge to the sender how much data the receiver has received. The first sequence number is randomized, and I will go into more detail shortly about why this occurs. To make things easy to understand, it is often better to work with a relative sequence number. The relative sequence number is a count of the actual bytes subtracted from the random start sequence number. I will go into more detail shortly, so don’t worry if this sounds confusing at first. The reason that sequence numbers are used is that they allow for the number of bytes received to be acknowledged. This is how TCP achieves reliable communication. Each data segment, when received, needs to have an acknowledgment message sent back. Updates in the TCP protocol allow multiple segments to be acknowledged at once. More on that later in the video. If a segment is lost during transmission, having a sequence number allows for the missing data segment to be retransmitted. Now that we understand sequence numbers, the next question is why is it initially randomized? Random Initial Sequence Number The initial sequence number is random to help prevent impersonation and denial of service attacks. If an attacker is not able to predict what the sequence number is, it makes it harder for them to affect the traffic traveling over that data stream. To understand how making a connection works, consider that you have a client attempting to make a connection with a server. The client will send the SYN message to the server. The SYN message will contain a random sequence number. Description too long for YouTube. Please see the following link for the rest of the description. https://itfreetraining.com/ap11/5c05 References “The Official CompTIA A+ Core Study Guide (Exam 220-1101)” pages 184 to 186 “Mike Myers All in One A+ Certification Exam Guide 220-1101 & 220-1102” pages 783 to 784 Credits Trainer: Austin Mason http://ITFreeTraining.com Voice Talent: HP Lewis http://hplewis.com Quality Assurance: Brett Batson http://www.pbb-proofreading.uk
You May Also Like
Upgrade Your Everyday
AI-recommended products based on this video

Kasa Smart Outdoor Smart Plug by TP-Link (KP400) - Smart WiFi Outlet with 2 Sockets, IP64 Waterproof, Works with Alexa and Google Home, 2.4GHz WiFi Required, No Hub Required, Sunset & Sunrise Offset

Oraolo Open Ear Headphones, Bluetooth 5.4 Wireless Earbuds with Stereo Sound, ENC Clear Call, 21H Playtime, Type-C Charging, Touch Control, IPX6 Waterproof Open Ear Clip-On Earbuds for outdoor workout

Open Ear Wireless Earbuds, Sports Bluetooth Headphones with Real Time Translation, 80Hrs Playtime with LED Power Display, Noise Canceling Headset, IP55 Waterproof Earphones for Workout/Running (Black)

Wireless Earbuds, Sports Bluetooth Headphones, 80Hrs Playtime Ear Buds with LED Power Display, Noise Canceling Headset, IPX7 Waterproof Earphones for Workout/Running Z(Black)

Monster Wireless Earbuds Open Ear AC311, Bluetooth 5.4 Open Ear Headphones, Up to 30 Hours Playtimes Bluetooth Ear Earphones with Stereo Sound, Touch Control and IPX5 Waterproof Open Ear Buds

Brita Stainless Steel Premium Filtering Water Bottle, BPA-Free, Reusable, Insulated, Replaces 300 Plastic Water Bottles, Filter Lasts 2 Months or 40 Gallons, Includes 1 Filter, Carbon - 20 oz.

Simple Modern Filtered Water Bottle | Insulated Stainless-Steel Carbon Filter Travel Water Bottles | Reusable for Clean Drinking Water On The Go | 24oz, Sea Glass Sage

FITVII Health & Fitness Tracker (Answer/Make Calls), Smart Watch with 24/7 Heart Rate and Blood Pressure, Sleep Tracking Monitor, 120+ Sport Mode Activity Tracker

AYATAHA AYATAHA Smart Watch for Kids, Smartwatch Fitness Tracker for Boys Girls, Children's Activity Watch 37 Sports Modes SMS Notification, HD Full Touchscreen IP67 Waterproof, Blue

Iaret Iaret Smart Watch for Women, 1.83" HD Fitness Tracker with 4 Bands, Answer/Make Calls, Heart Rate/Sleep/SpO2/Step Tracking, 100+ Sport Modes, Android/iPhone Compatible Gift (Rose Gold)

Smart Watch for Men Women 1.8" Fitness Tracker, Bluetooth Call, DIY Dial, Heart Rate Sleep Blood Oxygen Monitor, 100+ Sports Modes, IP68 Waterproof Smartwatch for Android iPhone, Alexa Built-in

Hand Warmers 2 Pack, 14000mAh Rechargeable Hand Warmers, Electric Hand Warmer Reusable, Portable Power Bank USB Hand Warmers 4 Levels 8 Heating, Gifts for Raynauds Ski Golf Camping

Hand Warmers Rechargeable, 10000mAh Electric Heated Gloves Power Bank Portable Graphene Handwarmers Pouch with 3 Levels & Double-Sided Heating for Hunting Camping Golf Xmas Gifts for Women Men Kids

2Pack Rechargeable Hand Warmer, 8000mAh Electric Hand Warmer Power Bank, Portable USB-C Hand Warmer for Pocket, Reusable Hand Warmer Up to 8 hrs Each, Warm Gift for Men Women, for Hunting, Camping

GTOCE Portable Charger,40000mAh Power Bank with 22.5W Fast Charging LED Digital Display Battery Pack with 6 Outputs 2 Inputs, Type C Powerbank Portable Charger for iPhone 16 pro Samsung AirPods,Black

Monster Sleep Ear200, Wireless in-Ear Headphones, Bluetooth 6.0 Sleep Headphones, with ANC Active Noise Cancellation Designed for Side Sleepers, 30 Hours of bass Stereo Sound.

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, White

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, Black

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, Black

Hydroponics Growing System Indoor Garden - Herb Garden with Grow Light, 15 Pods Stainless Steel Indoor Garden Kit, Auto Timer, Gardening Gift for All Ages

Umbra Triflora Hanging Planter for Window, Indoor Herb Garden, Set of 5, White/Black

Large Hydroponics Growing System 14 Pods, Indoor Herb Garden with LED Grow Light, 5L Water Tank, Hydroponic Grow Kit with 3 Auto-Timers, Rotatable Light Panel and Child Lock for Home School Gardening

Hanging Planter Hanging Plant Holder, 6 Inch 4 Indoor Plant Pots, Wall/Window Plant Hanger Indoor Herb Garden

slopehill Multi Hair Stylers & Hair Straightener - 2 in 1 Wet to Dry Air Straightener and Hair Dryer Combo with High Speed Air + Rapid Heat-Up + Customizable Temperature(Pink)

Hi.FANCY Portable Laptop Stand with Dual Cooling Fans for 14-17inch Laptops, Grey, 23.5 x 25.9 x 0.95cm

Laptop Stand for Desk, Adjustable Laptop Riser ABS+Silicone Foldable Portable Laptop Holder, Ventilated Cooling Notebook Stand for 10-15.6” Laptops,Tablet-Black

JETech 5 in 1 Case for Samsung Galaxy S25 Ultra 5G with 2-Pack Each Tempered Glass Screen Protector and Camera Lens Protector, Non-Yellowing Shockproof Bumper Phone Cover (Clear)

TAURI for iPhone 17 Pro Max Case 6.9" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

TAURI for iPhone 17 Pro Case 6.3" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

JOINPAYA 1Set Rechargeable Hand Warmer Hand Heater for Winter Heating Levels Compact

Shakven Rechargeable Hand Warmer | Cute Comfortable Portable Hand Warmers,Ergonomic Adjustable Energy-Efficient Small Heater for Travel, Outdoor, Winter

OCOOPA IP45 Waterproof Hand Warmer Rechargeable, Up to 15hrs Heat,10000mAh Durable Quick Charge Electric Hand Heater, PD Compatible, 3 Levels for Outdoors, Heavy Duty, H01-PD PRO















