Port class

Port represents an endpoint port.

Together with InternetAddress it defines an Endpoint. Endpoints are destinations for packets.

See Also: Endpoint

Constructors

Port(int value)
Creates a new Port
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
the value of the Port
final

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

Constants

any → const Port
any represents a random port available on the machine.