fix(guide): Add protocol information

pull/33568/merge
Kirk Manegold 2018-10-31 18:16:18 -07:00 committed by Heather Kusmierz
parent afe9a68a59
commit e3afefd2a2
1 changed files with 4 additions and 0 deletions

View File

@ -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").