Class-18 Readings: Socket.io
Class-18 Readings: Socket.io
Table of Contents
Reading, Research, and Discussion
- Sending data from the server to a client computer requires to use the public network. It’s normally includes many switches, routers and all different kind of the wires. Thus is unrealiable. Breaking down large data into small packets will help us to track each package, re-send it if package got lost or damanged.
2. UDP is often refereed to as a connectionless protocol. Why is this?
- No connections are required to be established between the source and destination before you transmit data.
3. Can a socket server application have multiple socket connections?
- Yes socket servers can have multiple socket connections on same or different ports
4. Can a socket connection application be connected to multiple socket servers?
- Yes it can connect to 65535 other sockets.
5. Can an application be both a socket server and a socket connection?
- No, I do think you can have one application to do both, nor would you want to.
Vocabulary Terms
OSI Model
:
- def: Open System Interconnection Model, a conceptual model, standardization for communication systems.
- Resource: cloudflare.com
TCP Model
:
- def: Concise version of the OSI model, it contains four layers, Process/Application, Host-to-Host/Transport, Internet, and Network Access layers.
- Resource: geeksforgeeks.org
TCP
:
- def: Standard defines how to establish and maintain network conversation
- Resource: techtarget.com
UDP
:
- def: User Datgram Protocol, Part of TCP/IP suite and is typically used for streaming media.
- Resource: techterms.com
Packets
:
- def: A packet is a small amount of data sent over a network.
- Resource: techterms.com
Socket
:
- def: A socket helps a computer program connect to a local or wire area network such as the internet.
- Resource: techterms.com
Additional Resources
Bookmark / Skim