Draw a UML diagram to illustrate the relationship between the classes DatagramSocket, MyDatagramSocket, Example2SenderReceiver, and Example2ReceiverSende. You need not supply the attributes and methods of the DatagramSocket class.
This exercise guides you through experiment with connectionless datagram socket via code sample Example2
You might also like to view...
For what would a technician use Mozilla Firefox?
A) Provide QoS to a VoIP phone B) Connect a particular tablet application to the cellular network C) Wireless connectivity to a WiMax tower D) Troubleshooting research
a) Modify the code implementing the operator[] to throw an int exception if the index is out of the declared array range. The exception object is to have the value of the out-of-range index. Be sure you add an exception specification to the operator function. b) Modify the code in main that calls operator[] to catch the exception and terminate the program using exit(1).
Given the class definition and associated code.
What will be an ideal response?
```
#include