A working solution that waits for a packet on specified port, when the
packet is received is parsed and then put into the database.