If an ethernet connection is established, the code now starts listening for UDP packages on localPort.