/socket-react

Binding for raw sockets (ext-sockets) in reactphp

Primary LanguagePHP

clue/socket-react Build Status

Binding for raw sockets (ext-sockets) in reactphp

Install

The recommended way to install this library is through composer. New to composer?

{
    "require": {
        "clue/socket-react": "dev-master"
    }
}

Tests

To run the test suite, you need PHPUnit. Go to the project root and run:

$ phpunit tests

Note: The test suite contains tests for ICMP sockets which require root access on unix/linux systems. Therefor some tests will be skipped unless you run sudo phpunit tests to execte the full test suite.

License

MIT