send custom packet api