Module 3b - Networking Basics Flashcards
What do IP address identify?
Hosts
What to TCP ports identify?
Processes at the endpoints of a connection
Out of UDP and TCP which one of them is connectionless?
UDP is connectionless, it is a one way communication with no acknowledgement from the receiver
What is ICMP?
Internet Control Message Protocol
It is a tool used to echo requests, reply messages, and report errors
What are sockets?
They’re an API for inter-process communication. Sockets are used to facilitate communication end points.
What does it mean to “bind” to a socket
Attach a local address to a socket
What does it mean to “listen” in a socket?
Announce willingness to accept connections
What does it mean to “accept” in a socket?
Block the caller until a connection request arrives
What does it mean to “connect” to a remote socket?
Actively attempt to establish a connection
What is the typical socket workflow for a server process?
Socket -> Bind -> Listen -> Accept -> Read -> Write -> Close
What is the typical socket workflow for a client process?
Socket -> Connect -> Write -> Read -> Close
What are the 5 major networking layers from OSI model (Open Systems Intercommunication) from top to bottom?
Application Layer Transport Layer Network Layer Data Link Layer Physical Layer