Lines Matching defs:Network
28 // Network returns the address's network name, "udp".
29 func (a *UDPAddr) Network() string { return "udp" }
58 // port name on the network net, which must be "udp", "udp4" or
81 // for UDP network connections.
187 // DialUDP connects to the remote address raddr on the network net,
231 // Network must be "udp", "udp4" or "udp6".
240 func ListenMulticastUDP(network string, ifi *Interface, gaddr *UDPAddr) (*UDPConn, error) {
241 switch network {
244 return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: gaddr.opAddr(), Err: UnknownNetworkError(network)}
247 return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: gaddr.opAddr(), Err: errMissingAddress}
249 c, err := listenMulticastUDP(context.Background(), network, ifi, gaddr)
251 return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: gaddr.opAddr(), Err: err}