- Mastering Python Networking
- Eric Chou
- 145字
- 2021-07-02 21:42:30
Functions and Characteristics of TCP
TCP uses datagram sockets or ports to establish a host-to-host communication. The standard body called Internet Assigned Numbers Authority (IANA) designates well-known ports to indicate certain services, such as port 80 for HTTP (web) and port 25 for SMTP (mail). The server in the client-server model typically listens on one of these well-known ports in order to receive communication requests from the client. The TCP connection is managed by the operating system by the socket that represents the local endpoint for connection.
The protocol operation consist of a state machine, where the machine needs to keep track of when it is listening for incoming connection, during communication session, as well as releasing resources once the connection is closed. Each TCP connection goes through a series of states such as Listen, SYN-SENT, SYN-RECEIVED, ESTABLISHED, FIN-WAIT, CLOSE-WAIT, CLOSING, LAST-ACK, TIME-WAIT, and CLOSED.
- Functional Python Programming
- Beginning Java Data Structures and Algorithms
- Hands-On Data Structures and Algorithms with JavaScript
- Apache Spark Graph Processing
- JavaScript by Example
- 鋒利的SQL(第2版)
- Hands-On Natural Language Processing with Python
- 運用后端技術處理業務邏輯(藍橋杯軟件大賽培訓教材-Java方向)
- Java網絡編程核心技術詳解(視頻微課版)
- Android移動開發案例教程:基于Android Studio開發環境
- Geospatial Development By Example with Python
- Processing創意編程指南
- Bootstrap for Rails
- C++程序設計
- Instant GLEW