retrieveSalt method

  1. @override
int retrieveSalt(
  1. Address address
)
override

The salt to use for a packet sent to address.

Implementation

@override
int retrieveSalt(Address address) {
  return _findExistingConnection(address)?.salt ?? 0;
}