[Flightgear-users] Synchronising more than 2 instances of Flightgear

2005-03-09 Thread Kevin Jones
Hi,

I have Flightgear simultaneously running on two PCs (both Win32).  I
use an Ethernet network to connect the PCs, both of which have fixed
IP addresses.  The master PC has IP address 10.10.10.1 and the slave
PC has IP address 10.10.10.2.  The master PC sends UDP packets to the
slave PC.  In the Flightgear command for my master PC I have the
following option:

--native=socket,out,30,10.10.10.2,5500,udp

In the Flightgear command for my slave PC I have the following options:

--native=socket,in,30,,5500,udp --fdm=external

This all works extremely well.  The master is sending UDP packets to
the slave (on address 10.10.10.2) and the slave is receiving UDP
packets from anywhere.

My question is this: How do I synchronise three (or more) instances of
Flightgear?  The three PCs will have the following addresses:

10.10.10.1 (Master)
10.10.10.2 (First Slave)
10.10.10.3 (Second Slave)

I can still make both slaves receive UDP packets from anywhere, but
how do I make the master PC transmit UDP packets to multiple slaves?

Thanks for any advice,

Kevin.

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Synchronising more than 2 instances of Flightgear

2005-03-09 Thread Arnt Karlsen
On Wed, 9 Mar 2005 10:06:45 +, Kevin wrote in message 
[EMAIL PROTECTED]:

 Hi,
 
 I have Flightgear simultaneously running on two PCs (both Win32).  I
 use an Ethernet network to connect the PCs, both of which have fixed
 IP addresses.  The master PC has IP address 10.10.10.1 and the slave
 PC has IP address 10.10.10.2.  The master PC sends UDP packets to the
 slave PC.  In the Flightgear command for my master PC I have the
 following option:
 
 --native=socket,out,30,10.10.10.2,5500,udp
 
 In the Flightgear command for my slave PC I have the following
 options:
 
 --native=socket,in,30,,5500,udp --fdm=external
 
 This all works extremely well.  The master is sending UDP packets to
 the slave (on address 10.10.10.2) and the slave is receiving UDP
 packets from anywhere.
 
 My question is this: How do I synchronise three (or more) instances of
 Flightgear?  The three PCs will have the following addresses:
 
 10.10.10.1 (Master)
 10.10.10.2 (First Slave)
 10.10.10.3 (Second Slave)
 
 I can still make both slaves receive UDP packets from anywhere, but
 how do I make the master PC transmit UDP packets to multiple slaves?

..' --native=socket,out,30,10.10.10.255,5500,udp ' if your lan is 
a /24 net, otherwise find out what your broadcast address is.

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Synchronising more than 2 instances of Flightgear

2005-03-09 Thread Curtis L. Olson
Kevin Jones wrote:
Hi,
I have Flightgear simultaneously running on two PCs (both Win32).  I
use an Ethernet network to connect the PCs, both of which have fixed
IP addresses.  The master PC has IP address 10.10.10.1 and the slave
PC has IP address 10.10.10.2.  The master PC sends UDP packets to the
slave PC.  In the Flightgear command for my master PC I have the
following option:
--native=socket,out,30,10.10.10.2,5500,udp
In the Flightgear command for my slave PC I have the following options:
--native=socket,in,30,,5500,udp --fdm=external
This all works extremely well.  The master is sending UDP packets to
the slave (on address 10.10.10.2) and the slave is receiving UDP
packets from anywhere.
My question is this: How do I synchronise three (or more) instances of
Flightgear?  The three PCs will have the following addresses:
10.10.10.1 (Master)
10.10.10.2 (First Slave)
10.10.10.3 (Second Slave)
I can still make both slaves receive UDP packets from anywhere, but
how do I make the master PC transmit UDP packets to multiple slaves?
 

Hi Kevin,
You can use the --native= option multiple times, one per each slave:
--native=socket,out,30,10.10.10.2,5500,udp
--native=socket,out,30,10.10.10.3,5500,udp
Or you can use the --native= option once with the broadcast address.
Or (in theory) you can use an address of broadcast and let plib figure 
out the broadcast address for you.  Note that broadcast includes 
specially interpreted shell characters so you need to either specify 
this in you .fgfsrc or take special precautions to escape the  and  
characters.

Curt.
--
Curtis Olsonhttp://www.flightgear.org/~curt 
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Synchronising more than 2 instances of Flightgear

2005-03-09 Thread Erik Hofman
Curtis L. Olson wrote:
Or you can use the --native= option once with the broadcast address.
Be cautious here, I've read somewhere that Windows by default doesn't 
listen to the broadcasts address anymore since a particular version (I 
don't know which one, but I believe XP).

Erik
___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d