ZeroTierNetworkInterface -> ZTSDK name change in docs

This commit is contained in:
Joseph Henry
2016-08-25 17:50:00 -07:00
parent 61a2c3c5da
commit 15199791b4
3 changed files with 18 additions and 18 deletions

View File

@@ -35,9 +35,9 @@ Our implementation currently intends to be the bare minimum required to get your
- Place `ZeroTierSDK_Unity3D_iOS.bundle` in folder
**Step 3: Include wrapper class source**
- Drag `ZeroTierNetworkInterface.cs` into your `Assets` folder.
- Drag `ZTSDK.cs` into your `Assets` folder.
**Step 4: Create and use a `ZeroTierNetworkInterface` object**
**Step 4: Create and use a `ZTSDK` object**
- See examples below for how to use it!
***
@@ -46,7 +46,7 @@ Our implementation currently intends to be the bare minimum required to get your
```
public class Example
{
public ZeroTierNetworkInterface zt;
public ZTSDK zt;
public void example_server()
{
@@ -81,7 +81,7 @@ public class Example
```
public class Example
{
public ZeroTierNetworkInterface zt;
public ZTSDK zt;
public void example_client()
{

View File

@@ -33,10 +33,10 @@ Our implementation currently intends to be the bare minimum required to get your
- Place `ZeroTierSDK_Unity3D_OSX.bundle` in folder
**Step 3: Include wrapper class source**
- Drag `ZeroTierNetworkInterface.cs` into your `Assets` folder.
- Drag `ZTSDK.cs` into your `Assets` folder.
- Add a file `Assets/smcs.rsp` containing the flag `-unsafe`. This is needed to execute the native library.
**Step 4: Create and use a `ZeroTierNetworkInterface` object**
**Step 4: Create and use a `ZTSDK` object**
- See examples below for how to use it!
***
@@ -45,11 +45,11 @@ Our implementation currently intends to be the bare minimum required to get your
```
public class Example
{
public ZeroTierNetworkInterface zt;
public ZTSDK zt;
public void example_server()
{
zt = new ZeroTierNetworkInterface (); // Start interface
zt = new ZTSDK (); // Start interface
zt.Join("8056c2e21c000001"); // Join your network
Thread connectThread = new Thread(() => {
@@ -83,12 +83,12 @@ public class Example
```
public class Example
{
public ZeroTierNetworkInterface zt;
public ZTSDK zt;
public void example_client()
{
zt = new ZeroTierNetworkInterface ();
zt.Join("565799d8f6e1c11a");
zt = new ZTSDK ();
zt.Join("8056c2e21c000001");
Thread connectThread = new Thread(() => {
// Create ZeroTier-administered socket

View File

@@ -33,10 +33,10 @@ Our implementation currently intends to be the bare minimum required to get your
- Place `ZeroTierSDK_Unity3D_OSX.bundle` in folder
**Step 3: Include wrapper class source**
- Drag `ZeroTierNetworkInterface.cs` into your `Assets` folder.
- Drag `ZTSDK.cs` into your `Assets` folder.
- Add a file `Assets/smcs.rsp` containing the flag `-unsafe`. This is needed to execute the native library.
**Step 4: Create and use a `ZeroTierNetworkInterface` object**
**Step 4: Create and use a `ZTSDK` object**
- See examples below for how to use it!
***
@@ -45,11 +45,11 @@ Our implementation currently intends to be the bare minimum required to get your
```
public class Example
{
public ZeroTierNetworkInterface zt;
public ZTSDK zt;
public void example_server()
{
zt = new ZeroTierNetworkInterface (); // Start interface
zt = new ZTSDK (); // Start interface
zt.Join("8056c2e21c000001"); // Join your network
Thread connectThread = new Thread(() => {
@@ -83,12 +83,12 @@ public class Example
```
public class Example
{
public ZeroTierNetworkInterface zt;
public ZTSDK zt;
public void example_client()
{
zt = new ZeroTierNetworkInterface ();
zt.Join("565799d8f6e1c11a");
zt = new ZTSDK ();
zt.Join("8056c2e21c000001");
Thread connectThread = new Thread(() => {
// Create ZeroTier-administered socket