Ah my bad i was need to connect to remote server i used it like this now and its works
Code:
Opt("TCPTimeout", 100) ;100 milliseconds
Local $ip = "login.justac.net"
Local $port = 11000
; Start The UDP Services
;==============================================
UDPStartup()
; Connect to a Listening "SOCKET"
;==============================================
Local $socket = UDPOpen($ip, $port)
If $socket = -1 Then
ToolTip("Cant establish connection", 0, 0)
Else
ToolTip("Connected", 0, 0)
EndIf
While 1
Sleep(100)
WEnd
Do you know maybe how i can check current patch version in registry with patch on server
i have in registry like this