Article View: borland.public.cppbuilder.internet.socket
Article #4228Re: TCustomWinSocket Lock()!!!
From: qyte
Date: Mon, 07 Mar 2005 10:51
Date: Mon, 07 Mar 2005 10:51
13 lines
1802 bytes
1802 bytes
Hans Galema wrote: > What was the value of count ? You should have put there sz. > And you assumed that all count bytes were sent. #define count 1024 count is the packet size i use for sending data. it works pretty good when sending a file and at the same time use the folder browsing. I know that checking sendbuf<0 isn't that good but it works. Up untill know i have met no problem with that. I will try and put a bool variable inside Form1 and make true at the beginning of sendfdata and false at the end. Of cource i will have to check it's value when i send paths. I think it will work.
Technical Details
Message-ID:
<422c324e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4228f8c1$1@newsgroups.borland.com> <42290e8b$1@newsgroups.borland.com> <42297c51$1@newsgroups.borland.com> <42298b47$1@newsgroups.borland.com> <42299308@newsgroups.borland.com> <422b6fb5$1@newsgroups.borland.com> <422b88c4@newsgroups.borland.com> <422c0f20$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9c76e7cb52ebcfdd X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 07 Mar 2005 12:51:58 +0200 From: qyte <gyte@vivodinet.gr> User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: TCustomWinSocket Lock()!!! References: <4228f8c1$1@newsgroups.borland.com> <42290e8b$1@newsgroups.borland.com> <42297c51$1@newsgroups.borland.com> <42298b47$1@newsgroups.borland.com> <42299308@newsgroups.borland.com> <422b6fb5$1@newsgroups.borland.com> <422b88c4@newsgroups.borland.com> <422c0f20$1@newsgroups.borland.com> In-Reply-To: <422c0f20$1@newsgroups.borland.com> Content-Type: text/plain; charset=windows-1253; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.171.210.195 Message-ID: <422c324e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1110192718 83.171.210.195 (7 Mar 2005 02:51:58 -0800) Lines: 13 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail