#title UDP_SocketReady [RCBasic Doc] #header Function UDP_SocketReady(socket) Returns 0 for no activity and non zero for activity. You need to call CheckSockets() at some point before this otherwise it will always return 0. #code If UDP_SocketReady ( 0 ) > 0 Then 'Socket has activity so we can do something here End If #/code #ref CheckSockets