Datagram class - dart:io library (original) (raw)

A data packet received by a RawDatagramSocket.

Constructors

Datagram(Uint8List data, InternetAddress address, int port)

Properties

addressInternetAddress

The address of the socket which sends the data.

getter/setter pair

dataUint8List

The actual bytes of the message.

getter/setter pair

hashCodeint

The hash code for this object.

no setterinherited

portint

The port of the socket which sends the data.

getter/setter pair

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

Methods

noSuchMethod(Invocation invocation)→ dynamic

Invoked when a nonexistent method or property is accessed.

inherited

toString()→ String

A string representation of this object.

inherited

Operators

operator ==(Object other)→ bool

The equality operator.

inherited