ownsTransport property

  1. @protected
bool get ownsTransport

Whether this host owns the transport it serves on.

false (the default) means something else accepts the connections and hands them over — so start binds nothing, and the first acceptConnection starts the host implicitly. true means start and stop drive a socket through onStart, onStarted and onStop.

Implementation

@protected
bool get ownsTransport => false;