Computers and Technology

There is a file* "sockfd" that provides a remote connection over a socket. what is the correct way to send the value of the int variable "data" across the connection?
a. write(sockfd, data, sizeof(int))
b. write(*sockfd, & data, 4)
c. write(sockfd, & data, sizeof(int))
d. write(*sockfd, data, 4)

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 02:30, jalaholmes2027
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
image
Computers and Technology, 23.06.2019 19:30, alangonsales6232
2. fluorine and chlorine molecules are blamed fora trapping the sun's energyob forming acid rainoc producing smogod destroying ozone molecules
Answers: 2
image
Computers and Technology, 25.06.2019 04:20, claraesson5581
Austin rare coins, inc., buys and sells rare coins, bullion, and other precious metals through eight web sites with different domain names. an unknown individual took control of austin's servers and transferred the domain names to another registrant without austin's permission. the new registrant began using the domain names to host malicious content—including hate letters to customers and fraudulent contact information—and to post customers' credit-card numbers and other private information, thereby tarnishing austin's goodwill. austin filed a suit in a federal district court against the new registrant under the anticybersquatting consumer protection act. is austin entitled to a transfer of the domain names? austin rare coins, inc., buys and sells rare coins, bullion, and other precious metals through eight web sites with different domain names
Answers: 3
image
Computers and Technology, 25.06.2019 08:10, andrewmena05
Spreadsheet software is more powerful than financial planning software. - true or false
Answers: 2
Do you know the correct answer?
There is a file* "sockfd" that provides a remote connection over a socket. what is the correct way t...

Questions in other subjects:

Konu
Mathematics, 31.10.2021 07:40
Konu
Mathematics, 31.10.2021 07:40