VIVA FOR NPM LAB : EX 1 AND 2
Sign in to Google to save your progress. Learn more
20. If a machine is newly introduced in the network what protocol is responsible for assigning the IP address?
1 point
Clear selection
21.The port number ranging from 1024 to 49151are called....
1 point
Clear selection
22. -------------function is used to line of data
1 point
Clear selection
23. Argument of inet_aton( )
2 points
Clear selection
19. If fork() is called 4 times, the number of child created will be---- *
1 point
Roll No *
1. struct sockaddr _in is defined in the header file
1 point
Clear selection
2. 4F52 in little Endian would be?
1 point
Clear selection
3. The function for inet_aton()
1 point
Clear selection
4. What semantics should be used for unreliable connectionless message
1 point
Clear selection
5. Which of the following is not supported by Windows?
1 point
Clear selection
6. Write the function for bind()?
2 points
7. If IP Address is local IP ADDRESS and port number is zero means?
2 points
Clear selection
17. Identify the correct order in which a server process must invoke the function calls accept, bind, listen, and recv according to UNIX socket API.
1 point
Clear selection
18. Give the socket pair of the above connection with and client port as 100. *
2 points
Captionless Image
1 point
Clear selection
8. What does backlog in listen() stands for?
1 point
Clear selection
9.Socket descriptor returned by accept() is called listening socket.
1 point
Clear selection
10.getsockname() is used to
1 point
Clear selection
11. Which of the following is a hard error?
1 point
Clear selection
12. ________ is the state in which server side still sends data to client which wants no more data further
1 point
Clear selection
13.How many packets are used for connection establishment?
1 point
Clear selection
14. sa_family_t is usually assigned_______?
2 points
Clear selection
15. Write the syntax for accept function
2 points
16.Using connect() function the client moves from.........on success of connect()
1 point
Clear selection
Submission ID (skip this field) *
⚠️  DO NOT EDIT this field or your responds may not be fully recorded.
Submit
Clear form
Never submit passwords through Google Forms.
This form was created inside of Kongu Engineering College. Report Abuse