Wondering if someone could help me.
question is about Indy TcpClient.
Is it somehow possible to keep it listening for incoming data.
Or is there some other way..
I have a server that once in a while sends me some data to update program work.
If i use
- Code: Select all
data:=idTcpClient1.readln;
then this hangs the whole program when no data is sent from server..
But i need a way to keep program working and when some data arrives then take action.
I need some event or smth.