port property

int get port

The port the server listens on; the effective port when bind was given 0.

Implementation

int get port => _server.port;