The architectural diagram below in Figure 3 shows how the client and server applications have access to a socket that has an input and an output stream.
图3中的架构图显示了客户端和服务器应用程序如何访问具有输入和输出流的套接字。
2
Note from Figure 3 that the proto structure defines the transport-specific methods, while the proto_ops structure defines the general socket methods.