🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #20

Re: Missed UDP packets

#20
From: Colin B Maharaj
Date: Tue, 29 Jul 2008 05:36
17 lines
1642 bytes
Hey Bob, thanks for the advice will do some reading up later.....
:)


Bob Gonder wrote:
> Colin B Maharaj wrote:
> 
>> How to use...(actual code is below)...
> 
> Nice code.
> I'd be very tempted to replace tmps with
> buffer[rear].s which would eliminate the
> memcpy2, speeding up the critical section.
> It would also eliminate what appears to be a bug:
> 
> Thread 1 does GetElement() which copies
> data into tmps and then copies tmps into
Technical Details
Message-ID: <488eac70$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <488b52f1$1@newsgroups.borland.com> <488bc2d2$1@newsgroups.borland.com> <488d3b78@newsgroups.borland.com> <488dde3f@newsgroups.borland.com> <smpr84l0mlub87o4p9pbliv3a6ls2b7kcr@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,fe1f171b8b3e63a7
X-Google-Attributes: gid11508e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 29 Jul 2008 01:36:51 -0400
From: Colin B Maharaj <noreply@myhost.com>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Missed UDP packets
References: <488b52f1$1@newsgroups.borland.com> <488bc2d2$1@newsgroups.borland.com> <488d3b78@newsgroups.borland.com> <488dde3f@newsgroups.borland.com> <smpr84l0mlub87o4p9pbliv3a6ls2b7kcr@4ax.com>
In-Reply-To: <smpr84l0mlub87o4p9pbliv3a6ls2b7kcr@4ax.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 080728-0, 07/28/2008), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 190.58.103.195
Message-ID: <488eac70$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1217309808 190.58.103.195 (28 Jul 2008 22:36:48 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail