ole</span>.log(<span class="hljs-string">`server error:\n<span class="hljs-subst">${err.stack}</span>`</span>);
  server.close();
});

server.on(<span class="hljs-string">'message'</span>, (msg, rinfo) => {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">`server got: <span class="hljs-subst">${msg}</span> from <span class="hljs-subst">${rinfo.address}</span>:<span class="hljs-subst">${rinfo.port}</span>`</span>);
});

server.on(<span class="hljs-string">'listening'</span>, () => {