Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : Re: Mapped Port TCP Quick Data Sending

www.cryer.info
Managed Newsgroup Archive

Re: Mapped Port TCP Quick Data Sending

Subject:Re: Mapped Port TCP Quick Data Sending
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Mon, 1 Oct 2007 11:11:52

"John Adams" <380.volt@gmail.com> wrote in message
news:47003bcd$1@newsgroups.borland.com...

> I am currently using the mapped port TCP component but I
> need to be able to send local and remote data in real time

TIdMappedPortTCP already runs in real-time.

> rather than let Indy's internal buffer size check kick in to send
> the data at its convenience.

What are you referring to exactly?  It doesn't do any buffer checks.

> Any idea on how to write a procedure to do this without changing
> the source code directly?

There is no way to change TIdMappedPortTCP's behavior without changing the
code.  If you want control over the behavior, then you will have to use
TIdTCPServer directly and write your own buffering and proxying code from
scratch.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive