FW: [OT, Q] Architecture for Message Broadcasting

J J azreal1977 at hotmail.com
Mon Jul 2 16:52:53 UTC 2007


Hrm, not sure why this stupid live hotmail wants to send all my messages directly to the sender instead of the list.From: azreal1977 at hotmail.comTo: herbertkoenig at gmx.netSubject: RE: [OT, Q] Architecture for Message BroadcastingDate: Mon, 2 Jul 2007 16:51:38 +0000






> Date: Mon, 2 Jul 2007 12:38:41 +0200> From: herbertkoenig at gmx.net> To: chunsj at embian.com; squeak-dev at lists.squeakfoundation.org> Subject: Re: [OT, Q] Architecture for Message Broadcasting> > Hello S.J.Chun,> > Afaik broadcast is one single send and everybody listens.> > IIRC a special broadcasting address is used where everybody listens.> > I never done TCP myself but it feels very wrong to to resend the same> message for each receiver.> > Cheers> > > Herbert                            mailto:herbertkoenig at gmx.netNo, TCP is a connection based protocol that abstracts a direct connection between one process and another, including automatic retransmit and failure detection.  It can only be between two ports, so if you use TCP you will have to send to each client individually.  You might take a look at the CORBA standard for the broadcast or subscription (don't remember which) server.If you want to send one message and have everyone hear it then you have to use UDP, which is connectionless.  But UDP (User-datagram protocol) doesn't do any of the work for you.  If you want reliability you either have to write it yourself or find some protocol on the internet someone wrote that is close to what you want.  And note: this does not need any special IP addresses.The "special addresses" that someone mentioned would be multi-cast, but that is an IP level protocol.  TCP can not run on it, though UDP can.  But as was mentioned, since it is at the IP level it requires help from the routers.  If you want to look more into this look up "mbone", an internet multi-cast backbone.  And lastly, you could just send to network broadcast addresses, but that isn't a good way to go and you can't anyway unless you know the subnet that each client is on (or they're all on the same).Hope that was helpful,JasonHotmail to go? Get your Hotmail, news, sports and much more!   Check out the New MSN Mobile

_________________________________________________________________
Play free games, earn tickets, get cool prizes! Join Live Search Club. 
http://club.live.com/home.aspx?icid=CLUB_wlmailtextlink
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070702/93406b90/attachment.htm


More information about the Squeak-dev mailing list