port property

int? get port

Returns the first available port number (TCP or UDP)

Implementation

int? get port => tcpPort ?? udpPort;