Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for multicastRIBContains (0.33 sec)

  1. src/net/listen_test.go

    	if ok, err := multicastRIBContains(ip); err != nil {
    		return err
    	} else if !ok {
    		return fmt.Errorf("%s not found in multicast rib", ip.String())
    	}
    	la := c.LocalAddr()
    	if la, ok := la.(*UDPAddr); !ok || la.Port == 0 {
    		return fmt.Errorf("got %v; want a proper address with non-zero port number", la)
    	}
    	return nil
    }
    
    func multicastRIBContains(ip IP) (bool, error) {
    	switch runtime.GOOS {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.5K bytes
    - Viewed (0)
Back to top