pear/net_socket

More info available on: http://pear.php.net/package/Net_Socket

Installs: 2 409 908

Dependents: 6

Suggesters: 0

Security: 0

Stars: 17

Watchers: 19

Forks: 19

v1.2.2 2015-03-22 15:48 UTC

This package is auto-updated.

Last update: 2024-10-29 04:47:19 UTC


README

Build Status

Net_Socket is a class interface to TCP sockets. It provides blocking and non-blocking operation, with different reading and writing modes (byte-wise, block-wise, line-wise and special formats like network byte-order ip addresses).

Homepage

Installation

For a PEAR installation that downloads from the PEAR channel:

$ pear install pear/net_socket

For a PEAR installation from a previously downloaded tarball:

$ pear install Net_Socket-*.tgz

For a PEAR installation from a code clone:

$ pear install package.xml

For a local composer installation:

$ composer install

To add as a dependency to your composer-managed application:

$composer require pear/net_socket

Tests

Run the tests from a local composer installation:

$ ./vendor/bin/phpunit

License

BSD-2 license