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 10:30
What can tanya do now to start preparing for the college and scholarship application process? think about her grades, activities in which she can get involved, possible part-time jobs at which she can work, and standardized tests she can take. (10 points) apex
Answers: 2
question
Computers and Technology, 23.06.2019 04:40
The narrative structure of the popular movies can be broken down into
Answers: 3
question
Computers and Technology, 23.06.2019 20:50
3.11.3 quiz: comparing and analyzing function typesquestion 4 of 102 pointswhat can you say about the y-values of the two functions f(x) = 3x2-3 andg(x)=2* - 3?
Answers: 2
question
Computers and Technology, 24.06.2019 11:40
100 pts. first person gets brainliest
Answers: 2
You know the right answer?
Choose one or more of the following statements about this socket networking procedure running as the...
Questions
question
Mathematics, 20.09.2020 08:01
question
History, 20.09.2020 08:01
Questions on the website: 13722361