-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -175,7 +175,7 @@ reachable from all the intended participants. | |
Starting a hub can be done using the following script in the smartsockets | ||
distribution: | ||
``` | ||
./bin/hub | ||
./scripts/hub | ||
``` | ||
When started, the hub will print it's contact address. For example: | ||
``` | ||
|
@@ -184,7 +184,7 @@ When started, the hub will print it's contact address. For example: | |
If multiple hubs are used, this address can be provided as a parameter to | ||
other hubs, like this: | ||
``` | ||
./bin/hub 130.37.193.15-17878~jason | ||
./scripts/hub 130.37.193.15-17878~jason | ||
``` | ||
This second hub will then attempt to connect to it. Note that hubs can only | ||
use direct connections or SSH tunneling. Since they are part of the SmartSockets | ||
|
@@ -263,15 +263,15 @@ these applications, a simple latency test. | |
We start by creating a hub network as described above. In our case, a single hub | ||
is sufficient: | ||
``` | ||
./bin/hub | ||
./scripts/hub | ||
``` | ||
Which prints: | ||
``` | ||
130.37.193.15-17878~jason | ||
``` | ||
We now start one of the test applications using a script in the distribution: | ||
``` | ||
./bin/app test.virtual.simple.Latency \ | ||
./scripts/app test.virtual.simple.Latency \ | ||
-Dsmartsockets.hub.addresses=130.37.193.15-17878~jason | ||
``` | ||
Note that we provide the hub contact address to the application using the '-D' | ||
|
@@ -288,7 +288,7 @@ hub address is also part of this data. | |
We now start the client side of the application on a different machine, a laptop | ||
behind an ADSL modem which does NAT: | ||
``` | ||
./bin/app test.virtual.simple.Latency \ | ||
./scripts/app test.virtual.simple.Latency \ | ||
-Dsmartsockets.hub.addresses=130.37.193.15-17878~jason \ | ||
-target 130.37.193.15-44672:[email protected]~jason# \ | ||
-count 100 | ||
|