A socket is basically an end point of a communication link between two applications. Sockets that extend over a network connect two or more applications running oncomputers attached to the network. A sockettwo addresses:. Sockets provide acommunication channel between one or more systems.
There aresockets separately using TCP and UDP.
A.message and packet
B.packet and frame
C.stream and datagram
D.flow and block
参考答案:C
解析:
[分析]: 一个套接字基本上是两个应用程序间通信连接的一个终点。套接字可遍布一个网络,连接两个或多个运行在属于此网络的独立的(separate)计算机上的应用程序。一个套接字由两个地址组成(is composed of):端口号和IP地址(port number and IP address)。套接字提供了一个介于两个或多个系统间的全双工的(full-duplex)通信通道。
套接字分为流套接字和数据报(stream and datagram)套接字,分别使用TCP和UDP协议。