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
Select all that apply. what types of documents can be created using word-processing software? business newsletters letters of application presentation slideshows customer databases
Answers: 1
question
Computers and Technology, 23.06.2019 07:10
If you want to import a picture into a dtp application, what must you do first? draw an image frame. import text. open the folder containing the file. select get image… from the windows menu.
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
question
Computers and Technology, 24.06.2019 21:30
Aobject is used for displaying the results of a question based on stored data. a. query b. report c. table d. form
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
Business, 01.03.2021 01:10
question
Mathematics, 01.03.2021 01:10
Questions on the website: 13722360