subject

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)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:30
The qwerty keyboard is the most common layout of keys on a keyboard
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
How to launch an app: steps to be successful? launching an app is a great idea, but itโ€™s not that easy as we supposed to think. the majority of mobile applications donโ€™t generate revenue because companies arenโ€™t ready to be competitive. referring to our experience in successfully building and launching apps we hope to you omit these difficulties. we are going to talk about ideas, marketing, testing your product, its development, distribution and support. you will learn 8 product launch stages to succeed.
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of โ€œtagโ€ to remember the meaning of contagious
Answers: 3
question
Computers and Technology, 24.06.2019 07:30
John recently worked on a project about various programming languages. he learned that though procedural language programs are useful, they have disadvantages too. what is a disadvantage of programs written in procedural languages? a. programs do not represent data complexity. b. programs take more time to execute. c. programs are prone to security threats. d. programs do not interface with multiple platforms.
Answers: 3
You know the right answer?
There is a file* "sockfd" that provides a remote connection over a socket. what is the correct way t...
Questions
question
Mathematics, 24.04.2020 16:28
question
History, 24.04.2020 16:28
Questions on the website: 13722362