Socket API套接字API

题目
名词解释题
Socket API套接字API
参考答案和解析
正确答案: 应用程序用于网络通信的一组过程。用该名称是因为组内包含有建立通信必须调用的Socket过程。
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

●Socket的通信方式包括 (62) , (63) 是最常用的套接字类型。

(62)、(63) A.字节流套接字

B.数据报套接字

C.原始数据报套接字

D.A、B和C


正确答案:D,A
【解析】本题考查的是Socket的通信方式。
使用Socket进行通信的方式有3种。
字节流套接字(stream socket):TCP/IP协议族中的TCP协议使用此类接口,它提供面向连接的(建立虚电路)、无差错的、发送接收顺序一致的、包长度不限和非重复的网络信包传输。
数据报套接字(datagram socket):TCP/IP协议族中的UDP(Liser Datagram Protocd)协议使用此类接口,它是无连接的服务,以独立的包进行网络传输,包最大长度为32kB,传输不保证顺序性、可靠性和无重复性,通常用于单个报文传输或可靠性要求不高的场合;
原始数据报套接字:提供对网络下层通信协议(如IP协议)的直接访问,一般不是提供给普通用户的,主要用于开发新的协议或提取协议较隐蔽的功能。其中字节流套接字是最常用的套接字类型。

第2题:

socket调用需要客户程序和服务器程序分别调用才能建立一个套接字连接()


参考答案:对

第3题:

The de facto standard Application Program Interface (API) for TCP/IP applications is the “sockets” interface. Although this API was developed for (71) in the early 1960s it has also been implemented on a wide variety of no-Unix systems. TCP/IP (72) Written using the sockets API have in the past enjoyed a high degree of portability and we would like the same (73) with IPv6 applications. But changes are required to the sockets API to support IPv6 and this memo describes these changes. These include a new socket address structure to carry IPv6 (74) ,new address conversion functions, and some new socket options. These extensions are designed to provide access to the basic IPv6 features requited by TCP and UDP applications, including multicasting, while introducing a minimums of change into the system and providing complete (75) for existing IPv4 applications.

A.Windows

B.Linux

C.Unix

D.DOS


参考答案:C

第4题:

关于空气污染指数的分级标准,下列说法错误的是( )。

①一级API<50

②二级50≤API≤100

③三级101≤API≤200

④四级201≤API≤300

⑤五级API>400

A.①③

B.①③④

C.②

D.⑤


正确答案:D
D【解析】五级是API>300,只有⑤不正确,其他的均正确,所以选D.

第5题:

说一下SOCKET。(套接字)


正确答案:
     

第6题:

套接字API中connect的作用是?()

A、打开套接字

B、连接目的地址

C、连接源地址

D、发送数据


参考答案:B

第7题:

在利用socket编写邮件服务器时,使用的套接字应该是()。

A.流式套接字

B.数据报套接字

C.UDP套接字

D.TCP套接字


正确答案:A

第8题:

临床上可用于酵母菌鉴定的商品化试剂盒是

A、API20C AUX

B、API20A

C、API20E

D、API20NE

E、API20 Staph


参考答案:A

第9题:

Thedefacto standard Application Program Interface (API) for TCP/IP applications is the “sockets” interface. Although this API was developed for __(71)__ in the early 1980s it has also been implemented on a wide variety ofnon-Unix systems。 TCP/IP __(72)__ written using the sockets API have in the past enjoyed a high degreeof portability and we would like the same __(73)__ with IPv6 applications。 But changes are requiredto the sockets API to support IPv6 and this memo describes these changes。These include a new socket address structure to carry IPv6 __(74)__,new address conversion functions,and some new socket options。These extensions aredesigned to provide access to the basic IPv6 features required by TCP and UDPapplications,including multicasting, while introducing aminimum of change into the system and providing complete __(75)__ for existing IPv4 applications。

A.Windows

B.Linux

C.Unix

D.DOS@@@SXB@@@A.applications

B.networks

C.protocols

D.systems@@@SXB@@@A.portability

B.availability

C.capability

D.reliability@@@SXB@@@A.connections

B.protocols

C.networks

D.addresses@@@SXB@@@A.availability

B.compatibility

C.capability

D.reliability


正确答案:D,A,A,D,B

第10题:

API系统鉴定肠道菌的是

A、API-20C

B、API-20E

C、API-20A

D、API-20NE

E、API-Staph


参考答案:B