github.com/laof/lite-speed-test@v0.0.0-20230930011949-1f39b7037845/utils/util_other.go (about)

     1  // +build !linux
     2  
     3  package utils
     4  
     5  import (
     6  	"context"
     7  	"net"
     8  )
     9  
    10  func Listen(ctx context.Context, network, address string) (net.Listener, error) {
    11  	return net.Listen(network, address)
    12  }