Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: is there such a thing as TCP broadcast?
| Subject: | Re: is there such a thing as TCP broadcast? |
| Posted by: | "Francois PIETTE [ICS - MidWare]" (francois.piet..@overbyte.be) |
| Date: | Thu, 25 May 2006 20:01:23 |
You probably want to use multicast instead of bradcast, both are UDP.
Broadcast is "simultaneouly sending to everybody"
Multicast is "simultaneouly sending to user having requested it"
Multicast receiver first subscribe to a multicast address (it's like a
group).
Multicast sender send to the multicast group address.
Note that UDP, and so multicast and broadcast, is by design an unreliable
protocol. You have to live with that ! You may loose packets or receive
several times the same, or receive in the incorrect order. It is OK for
video or sound streaming. Transmission error just become noise in the image
or in the sound. It is defenitely not OK to send files or any data which do
not tolerate data errors.
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
none