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()select all that are correct.1. in step 4, you could also use send() and recv() to send and receive data2. 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()3. assuming we want to handle more than one network connection for communication after one completes, there should be a loop around step 34. we do not use the connect() command in this server procedure as that is up to the client

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:00
If you have a lien on your vehicle, you cannot apply for a duplicate copy of your vehicle’s certificate of title. true or false
Answers: 1
question
Computers and Technology, 23.06.2019 08:00
Which argument is not a valid filter? does not equal this quarter filter by cell color all of these are valid filter arguments.
Answers: 2
question
Computers and Technology, 23.06.2019 10:30
Would a ps4 wired controller work on an xbox one
Answers: 1
question
Computers and Technology, 24.06.2019 08:00
Java the manager of a football stadium wants you to write a program that calculates the total ticket sales after each game
Answers: 1
You know the right answer?
Choose one or more of the following statements about this socket networking procedure running as the...
Questions
question
Mathematics, 16.01.2021 16:40
Questions on the website: 13722360