PHP code example of wpjscc / reactphp-tcp-proxy

1. Go to this page and download the library: Download wpjscc/reactphp-tcp-proxy library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

wpjscc / reactphp-tcp-proxy example snippets


php tcp_proxy.php --dest-host=remote_host --dest-port=remote_port --local-port=local_port