info@avatto.com
+91-9920808017
0. A client process P needs to make a TCP connection to a 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?
connect( ) system call returns successfully
connect( ) system call blocks
connect( ) system call returns an error
connect( ) system call results in a core dump
You must be logged in to post a comment.
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login
You must be logged in to post a comment.