Principles of Network Applications

本文探讨了现代网络应用程序中的两种主要架构:客户端-服务器架构和对等(P2P)架构,并介绍了进程通信的基本概念。文章还详细解释了传输层协议如何为应用程序提供服务,包括可靠的数据传输、吞吐量、定时和安全性等方面。此外,文中还对比了TCP和UDP的特点,并深入讲解了TCP连接建立的过程以及SSL作为TCP增强版的应用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  • The application architecture, on the other hand, is designed by the application developer and dictates how the application is structured over the various end systems. Two predominant architectural paradigms used in modern network applications: the client-server architecture or the peer-to-peer (P2P) architecture.
  • In the jargon of operating systems, it is not actually programs but processes that communicate.
  • A process is analogous to a house and its socket is analogous to its door. A socket is the interface between the application layer and the transport layer within a host. It is also referred to as the Application Program Interface (API) between the application and the network.
  • To identify the receiving process two pieces of information need to be specified: (1) the address of the host (IP address); (2) an identifier that specifies the receiving socket (A destination port number).
  • What are the services that transport-layer protocol can offer to applications invoking it? We can broadly classify the possible services along four dimensions: reliable data transfer, throughput, timing, and security.
  • The Internet makes two transport-layer protocols available to applications, UDP and TCP.
  • The TCP services model includes a connection-oriented service and a reliable data transfer service.
  • TCP has the client and server exchange transport-layer control information with each other before the application-level messages begin to flow. After the handshaking phase, a TCP connection is said to exist between the sockets of the two processes(full-duplex).
  • Secure Sockets Layer (SSL) is an enhancement of TCP, with the enhancements being implemented in the application layer. SSL has its own socket API that is similar to the traditional TCP socket API.
    这里写图片描述
    这里写图片描述
    这里写图片描述
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值