FW: [OT, Q] Architecture for Message Broadcasting
siguctua at gmail.com
Tue Jul 3 20:47:27 UTC 2007
On 03/07/07, "S.J.Chun" <chunsj at embian.com> wrote:
> >If you want to send one message and have everyone hear it then you have to use UDP, which is connectionless.
> Can you elaborate on this? How could this be done? Any sample code or doc on this?
> Thanks in advance.
UDP stands for Unix Datagram Protocol (IIRC)
This is message-based protocol, with which you can send short messages
to any destination IP/port, without caring about is it online or not.
In IP address space there are a special address space reserved for
multicast(or broadcast) IP addresses. They are mostly used inside
intranet - so any host within your local physical net will receive
message you sent. But, if you want same but using internet - there's
only one exit - send same message to each listener by iterating
There's also a protocol called unicast and global network of unicast
servers which supporting a broadcasting services for all interned, but
this requires even more complex steps to make it work (configuring own
server, register it global registry e.t.c)
More information about the Squeak-dev