Changes between Version 15 and Version 16 of Documentation/VLC
- Timestamp:
- Apr 30, 2010, 6:05:37 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/VLC
v15 v16 87 87 88 88 ==== Creating a SpoVNet ==== 89 At first we need an initial SpoVNet, consisting of a single vlc-mcpo instance. This instance can be either server or client but must be accessible from the second instance. On the first instance we have to set the source-port. Destination-address and -port can be set but as long there is no other instance listening there, setting this parameters has no effect.89 At first we need an initial SpoVNet, consisting of a single vlc-mcpo instance. This instance can be either server or client but must be accessible from (at least) the second instance. On the first instance we have to set the source-port. (Destination-address and -port can be set but as long as there is no other instance listening there, setting this parameters has no effect.) 90 90 91 On the second instance, destination-address and -port must be set adequate. It can also set the source-port to act as an entry point later. 91 92 92 ~~ For explanation purpose let's pretend we already have a SpoVNet (let's call it N) between some mcpo-vlc instances. If we now want to add a new instance (called C) to this net we will first need an 'entry point'. As an entry point we can use any instance in N. We pick an instance and call it E. E must be accessible from C (be careful with NATs). Let the ip-address of E be 1.1.1.1 and it's 'source-port' be 5000. Entering the N can be achieved with the parameters 5555:1.1.1.1:5000. The port 5555 on C can then be used as a new entry point. (Of course C can also use port 5000.) ~~ 93 A third instance can either use the first instance or the second as an entry point. 94 95 Et cetera. 96 97 Note: In the current implementation the sender begins the transmission immediately when it's ready. Using the sender as initial node may result in missing the beginning of the transmission. 93 98 94 99