Question: 1)C and C++ socket API: true or false - accept() is needed for UDP communication true or false - listen() is needed for UDP communication

1)C and C++ socket API:

true or false - accept() is needed for UDP communication

true or false - listen() is needed for UDP communication

true or false - listen() is needed for TCP communication

true or false - bind() connects a port to an address

2) listen(listenfd, 10);

true or false - can be called repeatedly in a loop true or false - could be called by a server process true or false - returns a port number to accept on true or false - could be called by a client process

3) Sockets

true or false- a socket address is a IP address a port number true or false - cannot be used for UDP transmittion true or false - an IPv4 socket needs 48 bits to represent it true or false - a socket pair is a machines IP address and one of its ports

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!