Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Feb : Re: Reply Code is not valid

www.cryer.info
Managed Newsgroup Archive

Re: Reply Code is not valid

Subject:Re: Reply Code is not valid
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Mon, 11 Feb 2008 17:04:39

"Kendrick" <kkendrick@harbornet.com> wrote in message
news:47b0e95e$1@newsgroups.borland.com...

> I am not sure how the 'reply code' is parsed out of the response

By default, SendCmd() interprets the first 3 characters of the response as
being an RFC-encoded numeric number.  '6:3' is not a valid number, thus the
error.

> or why the error was intermittent

You would have to look at the raw packet data to know that for sure.

> I moved the time string to the end of the response and no more error.

How were you sending the response to begin with?


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive