subject

Choose one or more of the following statements about this socket networking procedure running as the server (i. e. not the client):
1. Create network endpoint with socket()
2. Start listening for connections with listen()
3. Accept connections with accept()
4. Read and write data with read() and write()
A) Select all that are correct.
O In step 4, you could also use send() and recv() to send and receive data.
O There is a missing step in between steps 1 and 2: the socket needs to be bound to a port with bind() before calling accept().
O Assuming we want to handle more than one network connection for communication after one completes, there should be a loop around step 3.
O We do not use the connect() command in this server procedure as that is up to the client.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:30
What kind of motivation is katrina showing? use the drop-down menu to complete the statement. katrina is using motivation because she is personally interested in learning more.
Answers: 2
question
Computers and Technology, 22.06.2019 10:00
Create a word problem that involves calculating the volume and surface area of a three-dimensional object. cube: surface area 6 s2 , volume s3
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
1. ask the user how many questions are in the quiz. 2. ask the user to enter the key (that is, the correct answers). there should be one answer for each question in the quiz, and each answer should be an integer. e.g., 34 7 13 100 81 3 9 10 321 12 might be the key for a 10-question quiz. you will need to store the key in an array. 3. ask the user to enter the answers for the quiz to be graded. there needs to be one answer for each question. note that these answers do not need to be stored; each answer can simply be compared to the key as it is entered. 4. when the user has entered all of the answers to be graded, print the number correct and the percent correct. 5. add a loop so that the user can grade any number of quizzes with a single key. after the results have been printed for each quiz, ask "grade another quiz? (y/n)." note: you only have one array (the key). you are not creating a new key for each set of quiz answers.
Answers: 3
You know the right answer?
Choose one or more of the following statements about this socket networking procedure running as the...
Questions
question
Mathematics, 03.11.2020 18:40
question
Mathematics, 03.11.2020 18:40
question
Mathematics, 03.11.2020 18:40
question
Mathematics, 03.11.2020 18:40
Questions on the website: 13722361