Question: 2.7-2 UDP server-side socket actions. Match the general server-side action stated with the specific UDP socket-related action that implements it. 1. Use the call socket
2.7-2 UDP server-side socket actions. Match the general server-side action stated with the specific UDP socket-related action that implements it. 1. Use the call socket (AF_INET, SOCK_DGRAM) 2. The client explicitly includes the destination IP address and port #. when sending 3. Send using the socket created using socket (AF_INET, SOCK_DGRAM) 8 When sending to a client, this is how a specific client is identified. 4. Use the call socket (AF_INET, SOCK_STREAM) 6 Send to client, using this socket. 3 Create a socket. 5. As the result of an accept().a new socket is created, which binds the client and server together via this new socket without the need to to explicitly specify the destination IP address and port# when sending 2 When sending to the client, this is how the server knows the client IP address and port number 6. Send using a socket not explicitly created via a call to socket() 7. Send using the socket created using socket (AF_INET, SOCK_STREAM) 8. The server determines the client IP address and port # from an earlier datagram sent by this client
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
