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