Files
RCBASIC4/doc/files/udp_socketready.txt
2026-02-26 15:33:51 -06:00

15 lines
353 B
Plaintext

#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