#title TCP_SocketReady [RCBasic Doc] #header function TCP_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.