Article View: borland.public.cppbuilder.internet.socket
Article #2818Re: TCP Client / Server
From: Margreiter
Date: Thu, 19 Jan 2006 10:13
Date: Thu, 19 Jan 2006 10:13
26 lines
1586 bytes
1586 bytes
>> I tried this already
>
> Please show your actual code.
transmitting large files may take a long time, so I want to install a simple
indicator, how many bytes are transfered.
try
{
TMemoryStream* strm = new TMemoryStream;
.....
Form1->TCPDataClient->Host = IPAdr;
Form1->TCPDataClient->Connect();
strm->LoadFromFile(SPath);
Form1->TCPDataClient->WriteStream(strm, true, true, strm->Size);
.....
}
>> but this event is never fired.
>
> Yes, they are.
>
>
> Gambit
>
>
Technical Details
Message-ID:
<43cf64ce$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43c8dfc3@newsgroups.borland.com> <43cd4ccc$1@newsgroups.borland.com> <43cf4937@newsgroups.borland.com> <43cf5359$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,c2aaeb47b5011605 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Margreiter" <ma@soft-hard-ware.at> Newsgroups: borland.public.cppbuilder.internet.socket References: <43c8dfc3@newsgroups.borland.com> <43cd4ccc$1@newsgroups.borland.com> <43cf4937@newsgroups.borland.com> <43cf5359$1@newsgroups.borland.com> Subject: Re: TCP Client / Server Date: Thu, 19 Jan 2006 11:13:17 +0100 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 83.65.218.249 Message-ID: <43cf64ce$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1137665230 83.65.218.249 (19 Jan 2006 02:07:10 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail