github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/transport/internet/sockopt_other.go (about)

     1  // +build js dragonfly netbsd openbsd solaris
     2  
     3  package internet
     4  
     5  func applyOutboundSocketOptions(network string, address string, fd uintptr, config *SocketConfig) error {
     6  	return nil
     7  }
     8  
     9  func applyInboundSocketOptions(network string, fd uintptr, config *SocketConfig) error {
    10  	return nil
    11  }
    12  
    13  func bindAddr(fd uintptr, ip []byte, port uint32) error {
    14  	return nil
    15  }
    16  
    17  func setReuseAddr(fd uintptr) error {
    18  	return nil
    19  }
    20  
    21  func setReusePort(fd uintptr) error {
    22  	return nil
    23  }