pear/Net_Socket2 — pull request #1 by rspadim (2014-08-07 02:53:53+00:00)
Title: problem with fwrite

guys this one is the same problem with net/socket (Version 1), the !$written sometimes is 'converted' to false, instead of !$written, check if it's === false