Hello,
I just want to know if this is a bug?
Global $Info = _GetServerInfo()
If @error Then
ConsoleWrite("Error " & @error & " getting info" & @CRLF)
Else
ConsoleWrite($Info & @CRLF)
EndIf
Func _GetServerInfo()
UDPStartup()
Local $socket = UDPOpen("192.168.5.5", 20500)
If @error <> 0 Then Return SetError(1, 0, "")
UDPSend($socket, "GetServerInfo" & Chr(0))
If @error <> 0 Then Return SetError(2, 0, "")
Local $data = UDPRecv($socket, 50, 2) ; if UDP-se