Changd from polling UDP server to callback.