🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

sockets????

#3346
From: Gary D
Date: Sat, 22 Oct 2005 01:18
18 lines
1689 bytes
I need to have a one way broadcast from a "server" to multiple clients, here 
is the scenario:

A server watches for events that happen in special situations, this part of 
my program is
already runnig, BUT I need to add code that can broadcast (unsolicited) that 
the event(s)
occurred. At that point any client that happened to be listening could 
update itself without
having to watch all the same things the server is already watching.

Is a socket the best way to do this? I have looked into COM and found that 
COM servers
will not broadcast an unsolicited message. I can probably work around this 
but wish I didn't
have to because the server will have to do extra work holding open a 
triggered event
until something happens to complete the sequence. 
Technical Details
Message-ID: <43599303@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.volia.net!zen.net.uk!dedekind.zen.co.uk!news-out.usenet.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b9d755a2fd611a30,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Gary D" <gcdesroches@nctc.com>
From: "Gary D" <gcdesroches@nctc.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: sockets????
Date: Fri, 21 Oct 2005 20:18:36 -0500
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 66.38.101.139
Message-ID: <43599303@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1129943811 66.38.101.139 (21 Oct 2005 18:16:51 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.volia.net!zen.net.uk!dedekind.zen.co.uk!news-out.usenet.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail