[Network] add stream socket API with StreamSocketClient class

Review Request #36 — Created Jan. 7, 2013 and submitted — Latest diff uploaded

olivier
Lunr
https://github.com/owizen/lunr/tree/streamclient
12249
lunr
This is the last version of streamSocket and StreamSocketClient classes:

select method renamed as discussed in https://groups.google.com/forum/?hl=en&fromgroups=#!topic/lunr-developers/K0EK9w3l6Pc

the read_all and read_chunk methods have been removed and the read method make use of stream-get-contents with a default parameter of -1.
http://php.net/manual/en/function.stream-get-contents.php

That review replaces http://reviews.lunr.nl/r/7/ and http://reviews.lunr.nl/r/10/

Note: the remve_flag method was removed after discussion but not restored, the need of such method doesn't seem to be so important.
Unit tests, live push to APNS
Loading...