On 12/11/06, Bil Galbraith <[EMAIL PROTECTED]> wrote:
Woo-hoo, that worked. You Da Man!!! But WHY did it
work? I guess my assumption was wrong. UDP does NOT
just allow you to broadcast a message that anyone can
see. It has to be sent to a specific computer, but it
does not depend on a response back from that computer.
So, if I am running multiple visual channels, I have
to open up a socket for each one of them, right?
Let's see here ...
- broadcast messages are turned off by default in most networking systems.
Small bugs can lead to big problems (broadcast storm) and take down your
entire network.
- you can do broadcasts with udp. Your subnet should have a special address
that all the nodes listen to. I think the convention is that it is the
highest address in your subnet (often *.*.*.255 although it could be
something else depending on how your subnets are partitioned.)
- there seems to be a problem that I haven't tracked down configuring
flightgear to do broadcasts. You should be able to specify <broadcast> as
the address and the plib network system should interpret this correctly and
do the right thing. The plib code does work, I've used it recently in
another project, but somehow this flag doesn't get passed through correctly
when used in flightgear.
- so because the <broadcast> address is hosed up in flightgear, you do have
to send a packet to each slave machine individually.
You might change the GetStarted.html guide, as it was
where I got that option from.
If that is what's there, then yes, sounds like a typo.
Now, I have to figure out why my frame rame sucks so badly...
Or just buy a widow pc optimized to run FlightGear ... :-)
Curt.
--
Curtis Olson - University of Minnesota - FlightGear Project
http://baron.flightgear.org/~curt/ http://www.humanfirst.umn.edu/
http://www.flightgear.org
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users