Specifying a Local Address
l When a client creates and binds a
socket it must specify a local port and IP
address.
l Typically a client doesn’t care what port
it is on:
mySocket = new DatagramSocket()
give me any available port !