GithubHelp home page GithubHelp logo

votifier's People

Contributors

brianmcdo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

votifier's Issues

what does this do?

Hey, can you explain what this actually does? Is this something that would be used from a vote site to send votes to a server? I'm just about finished build a vote site and I dont yet have anything sending the votes out yet.

Fatal error: Uncaught React\Socket\ConnectionException: Could not bind to tcp://127.0.0.1:8192

Error:

Fatal error: Uncaught React\Socket\ConnectionException: Could not bind to tcp://127.0.0.1:8192: An attempt was made to access a socket in a way forbidden by its access permissions. in C:\xampp\htdocs\JesseComposer\vendor\react\socket\src\Server.php:90 Stack trace: #0 C:\xampp\htdocs\JesseComposer\src\BFoxwell\Votifier\Server.php(75): React\Socket\Server->listen('8192', '127.0.0.1') #1 C:\xampp\htdocs\JesseComposer\src\BFoxwell\Votifier\Server.php(54): BFoxwell\Votifier\Server->createSocket(Object(React\EventLoop\StreamSelectLoop), '8192', '127.0.0.1') #2 C:\xampp\htdocs\JesseComposer\src\BFoxwell\Votifier\Votifier.php(73): BFoxwell\Votifier\Server->start() #3 C:\xampp\htdocs\JesseComposer\phpplugins\database_config.php(360): BFoxwell\Votifier\Votifier->run() #4 C:\xampp\htdocs\JesseComposer\servers.php(104): Database->Vote('2', 'ARares') #5 {main} thrown in C:\xampp\htdocs\JesseComposer\vendor\react\socket\src\Server.php on line 90

Code:

            $config = [
                'key' => $VOTIFIER_INFO['Votifier Key'],
                'passphrase' => '', // Optional
                'address' => $VOTIFIER_INFO['Votifier Ip'],
                'port' => $VOTIFIER_INFO['Votifier Port'],
            ];

                $server = new BFoxwell\Votifier\Votifier($config, function($message, $logger)
                {
                    return $message;
                });
                $server->run();

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.