initial code of discover service
using external function for dgram socket send callback