网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
【单选题】listen函数的作用是
A.接受连接请求
B.设置等待连接状态
C.连接套接字到目的地
D.指定本地地址
参考答案和解析
有 2 个参数;第 1 个参数为套接字;第 2 个参数是等待连接队列的中的最大等待数;用于服务器侦听网络上有无连接请求
更多 “【单选题】listen函数的作用是A.接受连接请求B.设置等待连接状态C.连接套接字到目的地D.指定本地地址” 相关考题
考题
This is really a long story, but it is worth () .
A、listenB、listening toC、listen to itD、to listen
考题
配置channel必须的参数 ()A. name,listen address and listen portB. name,multicastaddress,listen address and listen portC. name, protocol, listen address, listen port
考题
Mr. Johnson has a habit of asking questions _________.
A.and then not listen to the answers
B.but then not listen for the answers
C.and then not listening to the answers
D.and then doesn't listen to the answers
考题
Which of the following activities can help develop the skill of listening for gist
A.Listen and find out where Jim lives.
B.Listen and decide on the best title for the passage.
C.Listen and underline the words the speaker stresses.
D.Listen to pains of words and tell if they are the same.
考题
VoidSet(Aa);是类A中一个成员函数的说明,其中Aa的含义是()。A、类A的对象引用a作该函数的参数B、类A的对象a的地址值作函数的参数C、表达式变量A与变量a按位与作函数参数D、指向类A对象指针a作函数参数
考题
单选题已知类IMS中两个成员函数的声明为“void listen()const;”与“void speak();”,另有两个对象的定义为“IMS obj1;”与“const IMS obj2;”,则下列语句中,产生编译错误的是( )。A
obj1.listen( );B
obj1.speak( );C
obj2.listen( );D
obj2.speak( );
考题
单选题VoidSet(Aa);是类A中一个成员函数的说明,其中Aa的含义是()。A
类A的对象引用a作该函数的参数B
类A的对象a的地址值作函数的参数C
表达式变量A与变量a按位与作函数参数D
指向类A对象指针a作函数参数
考题
单选题一个项目中包含3个函数:main、fa和fb函数,它们之间不正确的调用是()A
在main函数中调用fb函数B
在fa函数中调用fb函数C
在fa函数中调用fa函数D
在fb函数中调用main函数
考题
单选题Mr. Johnson has a habit of asking questions _________.A
and then not listen to the answersB
but then not listen for the answersC
and then not listening to the answersD
and then doesn't listen to the answers
考题
单选题需要在listen函数之后运行的函数是()A
bindB
acceptC
openD
socket
热门标签
最新试卷