port property

int? get port
inherited

The port this socket is listening on. See RawDatagramSocket.bind.

Implementation

int? get port => _socket?.port;