code: def main(uport):
      
      # NOTE: structure of the UDP packet is different than that of information
      #       sent via HTTP
      json_body = {
          "tags": {
              "host": "server01",
              "region": "us-west"
          },
          "time": "2009-11-10T23:00:00Z",
          "points": [{
              "measurement": "cpu_load_short",
              "fields": {
                  "value": 0.64
              }
          },
              {
                  "measurement": "cpu_load_short",
                  "fields": {
                      "value": 0.67
                  }
          }]
      }
  
      # make `use_udp` True and  add `udp_port` number from `influxdb.conf` file
      # no need to mention the database name since it is already configured
      client = InfluxDBClient(use_udp=True, udp_port=uport)
  
      # Instead of `write_points` use `send_packet`
      client.send_packet(json_body)
docs: Instantiate connection to the InfluxDB.