Hello, I need help with my problem. I can use (waitfor) to udp packet received, if packet no received for ex.10 second then close (waitfor) and continue program.
Wait For:
Wait For EventName_PacketArrived (Packet As UDPPacket)
UDPTimeout
Wait For EventName_PacketArrived (Packet As UDPPacket)
If Not(Packet=Null) Then
Log("packet arrived")
Else
Log("timeout")
End If
Sub UDPTimeout
Sleep(10000)
CallSubDelayed2(Me,"EventName_PacketArrived",Null)
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.