I have a simple TCP Server using Indy.

I have a simple TCP Server using Indy. The client side send strings but not CR LF chars, it's delimited by a '!' point. When I say it does not send the Enter Linefeed could be because he application could be cutting it before.
Problem is once into the OnExecute the serve gets locked. I've trying a lot of techniques but no luck here.
Really need some help. Maybe all the examples I found will fail because the expect the client send the CRLF. If I connect using a terminal to test and send the CRLF my program and the examples will work.
Maybe I need a kind of loop to wait for chars, but I don't know how to do that.

Comments