🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Broadcast!!

#965
From: Remy Lebeau (TeamB)
Date: Mon, 23 Jul 2007 17:12
16 lines
1368 bytes
"Micael" <MichaelCMChen@itri.org.tw> wrote in message
news:46a4216b@newsgroups.borland.com...

> I would like to develop an application as a server and capable
> to "Broadcast" messages to all client connections via TCP/IP.
> How can I do? Any components I can use? Methods? ...

TCP/IP has no broadcasting capabilities.

Whichever server component you decide to use is likely to provide access to
the list of active clients.  You will simply have to loop through that list,
sending your data packet to each client individually.


Gambit
Technical Details
Message-ID: <46a4e309$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46a4216b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,32d97389ef545c20
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <46a4216b@newsgroups.borland.com>
Subject: Re: Broadcast!!
Date: Mon, 23 Jul 2007 10:12:07 -0700
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.82.252.126
Message-ID: <46a4e309$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1185211145 75.82.252.126 (23 Jul 2007 10:19:05 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail