method Deno.DatagramConn.close DatagramConn.close(): void Close closes the socket. Any pending message promises will be rejected with errors. Return Type void