github.com/sagernet/wireguard-go@v0.0.0-20231215174105-89dec3b2f3e8/conn/bind_listener.go (about)

     1  package conn
     2  
     3  import (
     4  	"net"
     5  )
     6  
     7  type Listener interface {
     8  	ListenPacketCompat(network, address string) (net.PacketConn, error)
     9  }