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

A client process P needs to make a TCP connection to server process S. Consider the following situation:the server process S executes a socket ( ), a bind ( ) and a listen ( ) system call in that order, following which it is preempted. Subsequently, the client process P executes a socket ( ) system call followed by connect ( ) system call to connect to the server process S. The server process has not executed any accept ( ) system call. Which one of the following events could take place?

Open in App
Solution

Connect ( ) system call returns an error.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
PYQs Session 4
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon