subject
Business, 27.03.2020 01:27 coolkid20034

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 data
2. 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 3
4. We do not use the connect() command in this server procedure as that is up to the client

ansver
Answers: 2

Another question on Business

question
Business, 22.06.2019 14:40
Increases in output and increases in the inflation rate have been linked to
Answers: 2
question
Business, 22.06.2019 20:30
Before the tools that have come from computational psychiatry are ready to be used in everyday practice by psychiatrics, what is needed
Answers: 1
question
Business, 22.06.2019 21:20
In a market economy, supply and demand are important because theya. (i) play a critical role in the allocation of the economy's scarce resources.b. (ii) determine how much of each good gets produced.c. (iii) can be used to predict the impact on the economy of various events and policies.d. all of (i), (ii), and (iii) are correct.
Answers: 3
question
Business, 22.06.2019 21:30
An allergy products superstore buys 6000 of their most popular model of air filters each year. the price of the air filters is $18. the cost of ordering and receiving shipments is $12 per order. accounting estimates annual carrying costs are 20% of the price. the supplier lead time is 2 days. the store operates 240 days per year. each order is received from the supplier in a single delivery. there are no quantity discounts. what is the store’s minimum total annual cost of placing orders & carrying inventory?
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, 12.10.2020 14:01
question
Biology, 12.10.2020 14:01
question
Mathematics, 12.10.2020 14:01
question
Mathematics, 12.10.2020 14:01
Questions on the website: 13722359