Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ListenMulticastUDP (0.37 sec)

  1. p2p/nat/natupnp_test.go

    	if dev.listener, err = net.Listen("tcp", "127.0.0.1:0"); err != nil {
    		return err
    	}
    	laddr := &net.UDPAddr{IP: net.ParseIP("239.255.255.250"), Port: 1900}
    	if dev.mcastListener, err = net.ListenMulticastUDP("udp", nil, laddr); err != nil {
    		dev.listener.Close()
    		return err
    	}
    	return nil
    }
    
    func (dev *fakeIGD) serve() {
    	go httpu.Serve(dev.mcastListener, dev)
    	go http.Serve(dev.listener, dev)
    Go
    - Registered: 2022-08-14 18:27
    - Last Modified: 2022-05-09 10:13
    - 9K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg net, func JoinHostPort(string, string) string
    pkg net, func Listen(string, string) (Listener, error)
    pkg net, func ListenIP(string, *IPAddr) (*IPConn, error)
    pkg net, func ListenMulticastUDP(string, *Interface, *UDPAddr) (*UDPConn, error)
    pkg net, func ListenPacket(string, string) (PacketConn, error)
    pkg net, func ListenTCP(string, *TCPAddr) (*TCPListener, error)
    Plain Text
    - Registered: 2022-08-12 12:35
    - Last Modified: 2013-08-14 18:58
    - 1.7M bytes
    - Viewed (0)
Back to top