From e3afefd2a2d7d3e49bde8c6d6036630d7af85908 Mon Sep 17 00:00:00 2001 From: Kirk Manegold Date: Wed, 31 Oct 2018 18:16:18 -0700 Subject: [PATCH] fix(guide): Add protocol information --- guide/english/c/basic-networking/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guide/english/c/basic-networking/index.md b/guide/english/c/basic-networking/index.md index 1236f616548..37fae33755e 100644 --- a/guide/english/c/basic-networking/index.md +++ b/guide/english/c/basic-networking/index.md @@ -15,3 +15,7 @@ But, how will it arrive at the apartment? Every apartment has there own unique a ## Basics of Socket Programming Socket programming is a way of connecting two nodes on a network to communicate with each other. One socket(node) listens on a particular port at an IP, while other socket reaches out to the other to form a connection. Server forms the listener socket while client reaches out to the server. + +## I have Socket... Now what? + +Once a socket has been created between two nodes (a.k.a hosts or computing systems), a language needs to be agreed upon so the hosts can communicate between themselves - and others. This language is often referred to as a [protocol](https://en.wikipedia.org/wiki/Communication_protocol "Wikipedia: Communication Protocol") - or an agreed upon way to communicate between hosts. While there are many different protocols, the two most often used protocols are [UDP (User Datagram Protocol](https://en.wikipedia.org/wiki/User_Datagram_Protocol "Wikipedia: User Datagram Procol") and [TCP (Transmission Control Protocol)](https://en.wikipedia.org/wiki/Transmission_Control_Protocol "Wikipedia: Transmission Control Protocol").