isTunnel property
bool
get
isTunnel
True for interfaces that are typically VPN tunnels rather than the LAN the user's devices are on. Broadcasting into these is what closes iOS sockets.
Implementation
bool get isTunnel =>
name.startsWith('utun') || name.startsWith('tun') || name.startsWith('ppp') || name.startsWith('ipsec');