https://github.com/pear/net_socket
https://github.com/pear/net_socket
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pear/net_socket
- Owner: pear
- License: bsd-2-clause
- Created: 2012-04-14T13:58:32.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2018-09-09T07:18:14.000Z (almost 8 years ago)
- Last Synced: 2024-04-25T06:42:43.636Z (about 2 years ago)
- Language: PHP
- Homepage: http://pear.php.net/package/Net_Socket
- Size: 66.4 KB
- Stars: 15
- Watchers: 19
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Net_Socket - Network Socket Interface
[](https://travis-ci.org/pear/Net_Socket)
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](http://pear.php.net/package/Net_Socket/)
## 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