Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Feb : Re: Reply Code is not valid
| Subject: | Re: Reply Code is not valid |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Fri, 8 Feb 2008 10:03:39 |
"Kendrick" <kkendrick@harbornet.com> wrote in message
news:47abb25d$1@newsgroups.borland.com...
> tcp1.SendCmd('RUN ' + SqlTxt);
>
> This line executes several iterations or time but will
> seemingly randomly generate an eror
> EIDException: Reply Code is not valid 6:3
SendCmd() is receiving data that is in a different format than what it was
expecting. If this is happening randomly and not every time, then chances
are that you are not properly reading everything that the server sends you,
thus getting your communication out of sync at times. You are probably
leaving behind unread data from a previous command.
Gambit