how to user UDPSocket?

how to user udpsocket?

	myUDP = New UDPSocket
	myUDP.SendToSelf = False
	myUDP.Port=60000
	myUDP.Connect()
	UDPAddr = "238.10.0.1"
	if myUdp.JoinMulticastGroup(UDPAddr) then
			System.DebugLog("Joined then UDP Group " +UDPAddr)
	else
			System.DebugLog("Failed to Join then UDP Group " +UDPAddr +" "+ str(myUDP.LastErrorCode))
			myUdp.Close()
			Return
	End
	...

run in raspberry Pi err.
Failed to Join then UDP Group 238.10.0.1 19.
udp error code 19.

The problem is solved.
apt-get upgrade

The problem is solved.
my ip set error. routerip set to 0.0.0.0 cause this error.