networking - 传输层在哪里运行?

标签 networking tcp operating-system layer osi

我想知道 OSI 模型的传输层在计算机系统中的什么位置运行。它是操作系统的一部分吗?它是否在自己的进程或线程中运行?它如何将信息向上传递到其他应用程序或向下传递到其他层?

最佳答案

I'd like to know where the Transport Layer of the OSI model is running in a computer system.

事实并非如此。 OSI 模型适用于 OSI 协议(protocol)套件,该套件已失效且未在任何地方运行 AFAICS。然而,TCP/IP 有自己的模型,其中还包括一个传输层。我将假定这就是您以后的意思。

Is it part of the Operating System?

是的。

Does it run in its own process or thread?

不,它作为操作系统的一部分运行。

How does it pass information up to other applications

通过系统调用,例如Berkeley Sockets API、WinSock 等。

or down to other layers?

通过内部内核 API。

关于networking - 传输层在哪里运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10039594/

相关文章:

networking - 在wireshark中按IP范围过滤

linux - 在 Linux 平台上如何找出我的 Web 浏览器正在使用哪个端口从 Web 服务器接收数据包?

java - Java中的异步IO?

c# - 远程查看 IP 端口状态

linux - 多个 NIC 和 Docker 容器

networking - 已发送 FIN 的 TCP 端点是否仍发送 keepalive?

perl - 如何在我的 Perl TCP 脚本中诊断 "Cannot determine peer address"?

linux-kernel - open 对普通文件和设备驱动程序如何工作

java - 在将大文件发送到多个客户端的同时提高性能

architecture - cpu如何知道硬件中断?