The address parameter has the form host:port.This function returns the address of a UDP end point.If the IP field of raddr is nil or an unspecified IP address, the local system is assumed.įunc ResolveUDPAddr(network, address string) (*UDPAddr, error) raddr is the response address (client).If laddr is nil, a local address is automatically chosen. The laddr is the listening address (server).Used to specify the kind of client you will create.func DialUDP(network string, laddr, raddr *UDPAddr) (*UDPConn, error) ![]()
0 Comments
Leave a Reply. |