Hi, If no UDP packet is received on the udpsocket, UDPRecv will hangs for 100ms. Thereis a way for down the UDPRecv timeout ? UDPStartup() $socket = UDPBind("0.0.0.0",1234) While 1 $startime = TimerInit() $udprecv = UdpRecv($socket, 10) ConsoleWrite("UDP Recv Time: " & _Timer_Diff($startime) & @CRLF) Wend UdpCloseSocket($socket) UdpShutdown() Thanks you