vertx-lang-scala-docs_2.12 3.4.1 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package core
  Definition Classes
    scala
-  package cli
  Definition Classes
    core
-  package datagram
  Definition Classes
    core
- DatagramPacket
- DatagramSocket
- DatagramSocketOptions
-  package dns
  Definition Classes
    core
-  package eventbus
  Definition Classes
    core
-  package file
  Definition Classes
    core
-  package http
  Definition Classes
    core
-  package metrics
  Definition Classes
    core
-  package net
  Definition Classes
    core
-  package parsetools
  Definition Classes
    core
-  package shareddata
  Definition Classes
    core
-  package streams
  Definition Classes
    core

p

io.vertx.scala.core

# datagram 

#### package datagram

 
Ordering

1. Alphabetic

Visibility

1. Public
2. All

### Type Members

1.  class DatagramPacket extends AnyRef

   A received datagram packet (UDP) which contains the data and information about the sender of the data itself.

2.  class DatagramSocket extends ReadStream[DatagramPacket] with Measured

   A datagram socket can be used to send io.vertx.scala.core.datagram.DatagramPacket's to remote datagram servers and receive io.vertx.scala.core.datagram.DatagramPackets .

   A datagram socket can be used to send io.vertx.scala.core.datagram.DatagramPacket's to remote datagram servers and receive io.vertx.scala.core.datagram.DatagramPackets .

   Usually you use a datagram socket to send UDP over the wire. UDP is connection-less which means you are not connected to the remote peer in a persistent way. Because of this you have to supply the address and port of the remote peer when sending data.

   You can send data to ipv4 or ipv6 addresses, which also include multicast addresses.

   Please consult the documentation for more information on datagram sockets.

3.  class DatagramSocketOptions extends NetworkOptions

   Options used to configure a datagram socket.

### Value Members

1.  object DatagramPacket
2.  object DatagramSocket
3.  object DatagramSocketOptions

### Ungrouped