🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2909

Re: Mailslot packets

#2909
From: Peter Str�mberg
Date: Thu, 02 Nov 2006 10:53
22 lines
1763 bytes
"Tumurbaatar S." <spam_tumur@magicnet.mn> wrote in
news:45497a1a@newsgroups.borland.com: 

> My app uses Win32 API Mailslots to broadcast packets between 4-5 pc's
> connected to 10Mb HUB.
> With this old HUB there was no problem on delivering packets to
> destination pc. Because mailslot
> datagrams are not reliable,  my app writes 3 packets to mailslot with
> 100 msec interval. And at least
> one of these 3 packets was able to reach to the destination.
> Now I changed the old HUB with new Giga SWITCH (and all connected
> pc's).

Hubs are dumb, they don't know what is attached where, so when a packet 
comes in it is always sent out to all ports.

Switches are smart, they "know" what addresses are on which port, so if a 
packet comes in that doesn't match any destination it will be dropped by 
the switch, unless it is explicitly to an broadcast address.

Also, mailslot packets only uses UDP/broadcasts if the message is less 
than 425 bytes.
Technical Details
Message-ID: <Xns986F832B3A804wilfriedspamcopnet@207.105.83.66>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45497a1a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fba5cc757508f802
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Mailslot packets
From: "Peter Str�mberg" <wilfried@spamcop.net>
References: <45497a1a@newsgroups.borland.com>
Message-ID: <Xns986F832B3A804wilfriedspamcopnet@207.105.83.66>
User-Agent: Xnews/2006.08.20
NNTP-Posting-Host: 194.71.160.182
Date: 2 Nov 2006 03:53:39 -0700
X-Trace: newsgroups.borland.com 1162468419 194.71.160.182 (2 Nov 2006 03:53:39 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail