Thanks for taking time to help me.
Remebering that im still new lol there isnt a bindings property for idtcpclient.
All i can assign to an integer like NoBlocking is BoundPortMax,BoundPortMin and Boundport
Regards Gary
Thanks for helping. Unfortunately it did now prevent the freeze :(
I really can't see the problem :( Can it be my server side code? thats simply:
procedure TFrmHost.IdTCPServerConnect(AThread: TIdPeerThread);
begin
lstchat.Items.Add('Client Connected')...
Ok i broke the code down to see exactly where it freezes.
I changed timer to every 5 seconds and put messages everywhere telling me during runtime exactly what it was doing. It freezes when executing the following line when their is no data on the socket:
Inputdata := idtcpclient.ReadLn('',5)...
Hi im having an annoying problem.
Im making a client-server app using indy componenets idtcpclient and idtcpserver naturally.
I should say im a fairly new user to delphi and very new to using indy components so please bare with me if i act a noob.
After browsing throught the indy demos i...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.