From: catalin_benea on
Hello , I want to know if the TCP/IP send block can broadcast some
data that I give to it to a local network?

I'm having some problems when I try to send some data from a local
machine to a target machine. I've configured the send and receive
blocks
with the Ip addresses that I've assigned and the port that I will use
to communicate , but when I start the simulation on both machines the
target machine does not receive anything.

Any Ideea on what my problem would be ?
Or can I use other blocks to do this, to communicate from one pc to
other pc's ?

With regards,
Catalin
From: Trent Jarvi on

"catalin_benea" <keetoob(a)gmail.com> wrote in message
news:15906923-c34b-47fc-ac4b-da5968be70b0(a)k31g2000vbu.googlegroups.com...
> Hello , I want to know if the TCP/IP send block can broadcast some
> data that I give to it to a local network?
>
> I'm having some problems when I try to send some data from a local
> machine to a target machine. I've configured the send and receive
> blocks
> with the Ip addresses that I've assigned and the port that I will use
> to communicate , but when I start the simulation on both machines the
> target machine does not receive anything.
>
> Any Ideea on what my problem would be ?
> Or can I use other blocks to do this, to communicate from one pc to
> other pc's ?
>

Hi Catalin

The send and receive blocks are TCP/IP clients. We are looking into the
possibility of implementing TCP/IP servers as well but do not currently
offer them.

As a workaround, you may try using UDP which can work in both models.