UDP Socket

Hi ,

I have develop the program using UDP Socket. In Button event I have write the code as below

Dim today As New Date
Dim year As Variant
year = today.Year
year = Right(year,2)

I didn’t write anything on UDP Socket data available.
Without UDP Socket , If I run the program application run successfully.
But If we run the program with UDP socket , “Dim today As New Date” event was not fire. application was hangout on this step.

Kindly advice the same.

No need to ask twice the same question. You got your answer here : https://forum.xojo.com/conversations/all

The error in the code above prevents the UDPSocket to work.