Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Feb : Re: $FF (255) byte isn't sent

www.cryer.info
Managed Newsgroup Archive

Re: $FF (255) byte isn't sent

Subject:Re: $FF (255) byte isn't sent
Posted by:"Michael Stieler" (michael.stiel..@rie.eu)
Date:Wed, 25 Apr 2007 13:45:40

Alex Brainman schrieb:
> Michael Stieler wrote:
>
>>> It looks like 0xFF being an escape character or something, can anyone
>>> help?
>>
>
> Telnet protocol has 0xff as an escape character. See
>
> http://www.faqs.org/rfcs/rfc854.html
>
> for details.
>
>
> Alex
>
Hi,

  I'm using a TIdTcpServer and send with
tcpServer.IOHandler.Write(idByteBuffer);

I wouldn't expect ANY protocol to be implemented with this, am I wrong?

There are statements like the following in my application
AppendByte(buff, MessageType);

Now if MessageType would be 0xff i'd have to use an if-clause and
   AppendBytes(buff, ToBytes(chr($FF)+chr($FF)));
for it to work like I need it.


Thanks for advice,
  Michael

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive