wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which one of the following socket API functions converts an unconnected active TCP socket into a passive socket?

A
accept
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
bind
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
listen
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
connect
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C listen
Listen ( ) converts an unconnected active TCP socket into a passive socket.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Businesses
CIVICS
Watch in App
Join BYJU'S Learning Program
CrossIcon