Article View: borland.public.cppbuilder.internet.socket
Article #17Re: Missed UDP packets
From: Colin B Maharaj
Date: Mon, 28 Jul 2008 14:59
Date: Mon, 28 Jul 2008 14:59
20 lines
1681 bytes
1681 bytes
One more thing. This buffer does not grow dynamically. This was intentional in my design, in case the consumer thread stops, then we get memory growing and growing. The packet size is 4096 (adjustable) and the amount of packets is 512 (adjustable) If you are receiving full UDP you may want to change the packet size to 16384 Later - good luck.... Dave K. wrote: > Colin, thanks for the suggestion. If you could post your code I would > greatly appreciate it. >
Technical Details
Message-ID:
<488ddee3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<488b52f1$1@newsgroups.borland.com> <488bc2d2$1@newsgroups.borland.com> <488d3b78@newsgroups.borland.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: Mon, 28 Jul 2008 10:59:48 -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> In-Reply-To: <488d3b78@newsgroups.borland.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: <488ddee3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1217257187 190.58.103.195 (28 Jul 2008 07:59:47 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail X-Original-Bytes: 1434