Files
RCBASIC4/doc/files/udp_socketready.txt
2024-10-06 17:07:06 -04:00

14 lines
352 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