Home » Networking » Net_Socket
Network Socket Interface
This package is unmaintained.
Download latest release 1.2.2 (there might be newer Composer installable version)
License: BSD-2-Clause
Description
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).
Documentation
Maintainers
- Chuck Hagenbuch (chagenbu) — lead, inactive
- Stig Bakken (ssb) — lead, inactive
- Aleksander Machniak (alec) — lead, inactive
Dependencies
Required
- PHP (>= 5.4.0)
- PEAR Installer (>= 1.10.1)
Releases
- 1.2.2 (stable, 2017-04-13)
Release notes
License: BSD-2-Clause
* Bug #21178: $php_errormsg is deprecated in PHP 7.2
- 1.2.1 (stable, 2017-04-06)
- 1.2.0 (stable, 2017-04-06)
- 1.1.0 (stable, 2017-03-08)
- 1.0.14 (stable, 2013-05-24)
- 1.0.13 (stable, 2013-05-22)
- 1.0.12 (stable, 2013-05-16)
- 1.0.11 (stable, 2013-05-15)
- 1.0.10 (stable, 2010-10-15)
- 1.0.9 (stable, 2008-07-11)
- 1.0.8 (stable, 2007-05-04)
- 1.0.7 (stable, 2007-03-30)
- 1.0.6 (stable, 2005-02-26)
- 1.0.5 (stable, 2005-01-11)
- 1.0.4 (stable, 2004-12-13)
- 1.0.3 (stable, 2004-12-13)
- 1.0.2 (stable, 2004-04-26)
- 1.0.1 (stable, 2002-05-22)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #86 | Closed | Bug | 2003-10-11 | CS problems | |
| #87 | Closed | Bug | 2003-10-11 | readLine() method has problems with "\n" line endings | |
| #980 | Closed | Bug | 2004-03-09 | Block write works better on Windows XP | |
| #1070 | Duplicate | Bug | 2004-03-25 | Warning on connection error | |
| #1140 | Closed | Bug | 2004-04-05 | Feature Request (with diff) - connect options | |
| #1300 | Closed | Bug | 2004-04-27 | Error in a call to fsockopen | |
| #1427 | Bogus | Bug | 2004-05-17 | Net_Socket::eof() hangs due to use of feof() | |
| #1428 | Closed | Req | 2004-05-17 | Feature Request: Select in Net_Socket | |
| #1667 | Bogus | Bug | 2004-06-17 | read() doesn't return if less than the maximum size is available | |
| #2554 | Closed | Bug | 2004-10-18 | When connecting to some IIS servers a "fatal protocol error" happens | |
| #2705 | Bogus | Bug | 2004-11-06 | RFE: Return descriptive error message on failed host lookup | |
| #2706 | Wont fix | Bug | 2004-11-06 | Fix readAll() hangs in blocking mode | |
| #2961 | Closed | Bug | 2004-12-13 | connect() in 1.0.3 doesn't work w/ filesystem sockets | |
| #3100 | Closed | Bug | 2005-01-04 | ssl:// is causing Net_Socket::connect() to fail | |
| #3327 | Closed | Req | 2005-01-29 | Method for setting Socket's write buffer size | |
| #3331 | Bogus | Bug | 2005-01-30 | PHP warning instead of PEAR_Error if (p)fsockopen() fails | |
| #3372 | Closed | Bug | 2005-02-03 | net_socket needs to support stream transport specification to work w/ php 5 | |
| #4812 | Closed | Req | 2005-07-12 | Protocol string in gethostbyname | |
| #5807 | Closed | Bug | 2005-10-28 | (patch) select is broken when out-of-band data present | |
| #5980 | Bogus | Req | 2005-11-16 | readLine hangs | |
| #6789 | Closed | Bug | 1.0.6 | 2006-02-15 | Net_Sock::eof() returns false when socket is already disconnected |
| #7190 | Closed | Bug | 1.0.6 | 2006-03-24 | Stream options don't work in PHP5 |
| #7266 | Bogus | Bug | 1.0.6 | 2006-03-30 | Can Open https connection through HTTP_Request |
| #7692 | Closed | Bug | 1.0.6 | 2006-05-22 | readLine exits silently on error |
| #8422 | Bogus | Bug | 1.0.6 | 2006-08-11 | broken pipe causes Apache server to become unresponsive |
| #11039 | Closed | Bug | 1.0.8 | 2007-05-15 | Error in code? |
| #11040 | Duplicate | Bug | 1.0.8 | 2007-05-15 | Bug in code ? |
| #11202 | Closed | Bug | 1.0.8 | 2007-06-01 | Correct code |
| #13107 | Wont fix | Bug | 1.0.8 | 2008-02-12 | Net_Socket::write() returns false on error |
| #13249 | Duplicate | Bug | 1.0.8 | 2008-02-28 | write method returns false on error |
| #13547 | Closed | Doc | 1.0.8 | 2008-03-31 | Which license version? |
| #14181 | Closed | Req | 1.0.8 | 2008-06-18 | \r\n vs \n |
| #14284 | Wont fix | Bug | CVS | 2008-07-03 | if host unresolved then raiseError |
| #14327 | Duplicate | Bug | 1.0.8 | 2008-07-11 | undefined variable |
| #14433 | Closed | Req | 1.0.9 | 2008-08-01 | gets(), optional size parameter |
| #14448 | Closed | Req | 1.0.9 | 2008-08-03 | Polluted error messages |
| #14449 | Wont fix | Req | 1.0.9 | 2008-08-03 | Error Constants (OS dependent) |
| #14619 | Closed | Bug | 1.0.9 | 2008-09-08 | write() hangs |
| #14803 | Closed | Req | CVS | 2008-10-15 | Improve PHPCS results |
| #15981 | Bogus | Bug | 2009-03-05 | No error returned on timeout | |
| #17484 | Closed | Bug | 1.0.9 | 2010-06-11 | PHP Fatal error: Maximum execution time of 30 seconds exceeded |
| #17526 | Closed | Req | SVN | 2010-06-28 | License change |
| #17655 | Wont fix | Req | SVN | 2010-08-04 | SOCKS/SOCKS5 Proxy Support |
| #17741 | Closed | Bug | SVN | 2010-08-18 | package.xml doesn't validate against pear package 2.0 schema |
| #17765 | Closed | Bug | SVN | 2010-08-20 | Patch: Avoid deprecated socket_set_blocking |
| #18176 | Assigned | Bug | 1.0.10 | 2011-01-06 | socket behavior dependent on the order that sockets are disconnected |
| #18231 | Closed | Bug | 1.0.10 | 2011-02-01 | IPv6 sockets cannot be used |
| #18262 | Closed | Bug | 1.0.10 | 2011-02-10 | Incomplete buffer sent with fwrite after bugfix #14619 |
| #18281 | Closed | Bug | 1.0.10 | 2011-02-16 | Socket.php errors when sending large emails through Pear Mail |
| #18436 | Closed | Req | 1.0.10 | 2011-04-13 | 2nd argument of setTimeout() could be optional |
| #18437 | Closed | Bug | 1.0.10 | 2011-04-13 | Possible timeout bug |
| #18438 | Closed | Bug | 1.0.10 | 2011-04-13 | Wrong PHP version dependency and socket_* function aliases |
| #19557 | Closed | Doc | SVN | 2012-08-10 | Incomplete gets() method description |
| #19949 | Closed | Bug | 1.0.11 | 2013-05-16 | Connection problem when no timeout is set in 1.0.11 |
| #20113 | Closed | Bug | 1.0.14 | 2013-11-04 | package.xml does not validate |
| #21031 | Closed | Bug | 1.0.14 | 2016-02-17 | Warning on connection error(stream_socket_client) |
| #21178 | Closed | Bug | SVN | 2017-02-06 | $php_errormsg is deprecated in PHP 7.2 |
| #23768 | Open | Bug | 1.2.2 | 2018-09-13 | Git tag of v1.2.2 is incorrect |
| #26998 | Open | Bug | 1.2.2 | 2020-11-11 | Endless loop in write() if connection broken |