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

Identity the correct order in which a server process must invoke the function calls accept, bind, listen, and receive according to UNIX socket API

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

The correct option is A bind, listen, accept, recv
Order of function calls invoked: Bind ( ), Listen ( ).
Accept ( ) and Recv ( ).

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