Am Montag, 22. Januar 2007 22:11 schrieb Marco Dell'Unto:
> Hi everyone,
> i would like to send broadcast data with uip using a TCP connection, could
> anyone help me?
> By read this mailing list i found that for udp it's possible; is it
> possible also for tcp?
>
As pointed out, there is no TCP broadcast.  This is because TCP expects an
acknowledgement from the target address and a persistent connection.  Were
the target to be a broadcast, every node receiving the broadcast would have
to reply, and the node originating the TCP broadcast would have to open a
connection for every destination.  Imagine trying to receive several
thousand ACKs at once, every time data is sent out.

That's why UDP exists.
  Jack Peacock

Reply via email to