20,741
edits
No edit summary |
m (http://forum.flightgear.org/viewtopic.php?f=17&t=23994&p=218353#p218327) |
||
Line 37: | Line 37: | ||
--multiplay=in,10,,5000 | --multiplay=in,10,,5000 | ||
{{Note|For a local setup between two fgfs instances without any fgms/multiplayer server being involved, you merely need to map each I/O port to the corresponding port: | |||
<syntaxhighlight lang="bash"> | |||
fgfs --multiplay=out,10,127.0.0.1,5000 --multiplay=in,10,127.0.0.1,5001 --callsign=one & | |||
fgfs --multiplay=out,10,127.0.0.1,5001 --multiplay=in,10,127.0.0.1,5000 --callsign=two & | |||
</syntaxhighlight> | |||
[[File:Direct-p2p-multiplayer-setup.png|800px|Screen shots demonstrating a "peer-to-peer" setup between two fgfs instances running on the same machine via localhost/loopback (127.0.0.1) without any fgms/multiplayer server being involved]] | |||
}} | |||
''If you are using fgrun, please note that fgrun expects you to enter a valid (non-loopback, i.e. not 127.0.0.1) IP address or hostname for the local network interface.'' | ''If you are using fgrun, please note that fgrun expects you to enter a valid (non-loopback, i.e. not 127.0.0.1) IP address or hostname for the local network interface.'' | ||
Line 79: | Line 88: | ||
If it's still just not working for you, ask nicely on the [[FlightGear IRC channel]] and someone should be able to assist. | If it's still just not working for you, ask nicely on the [[FlightGear IRC channel]] and someone should be able to assist. | ||
=== Multiple connections per computer === | === Multiple connections per computer === |