1
0
mirror of https://github.com/danog/Merger.git synced 2024-11-30 04:19:10 +01:00
Merger/client.php

13 lines
325 B
PHP
Raw Permalink Normal View History

2019-03-23 22:19:14 +01:00
<?php
require 'vendor/autoload.php';
use danog\Merger\Merger;
use danog\Merger\Settings;
$settings = new Settings();
2019-04-03 18:27:07 +02:00
$settings->setTunnelEndpoint('manuel.giuseppem99.cf', 4444);
2019-03-23 22:19:14 +01:00
$settings->addConnectAddress('192.168.1.236');
2019-04-03 22:22:03 +02:00
$settings->addConnectAddress('192.168.42.121');
2019-03-23 22:19:14 +01:00
$client = new Merger($settings);
$client->loop();