Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hoaproject/Socket

The Hoa\Socket library.
https://github.com/hoaproject/Socket

Merge branch 'readme' into incoming

59153e272873bd12c4210440d6f91fdcaa871a1f authored almost 11 years ago
Write the `README.md` file.

Reviewed by @CircleCode. Thanks!

0e7fe79cedde0467613e1200cc26ed743fb2f08c authored almost 11 years ago
Update API documentation.

b2d926c52b3dc3e1461240147143ff84cac6c8bd authored almost 11 years ago
Add the state of this library.

a608a22044fe6da0c431e9a28ce262ef2622d295 authored almost 11 years ago
Happy new year \o/.

5249a001a2ae4df32410efe9c7033bf421c8e83a authored about 11 years ago
Format `composer.json`.

15cd6b225cbfe0e0a65acb8d54e90dfee37089b4 authored about 11 years ago
Better composer compatibility

6c3ed00e0bb6b8ac8e5416a00871bea62c7145ab authored over 11 years ago
Define flex entities.

cf1e1e211282365023eb691ca53a06b5a7de18b7 authored over 11 years ago
The isDisconnected() method must return a boolean.

In some rare cases, $this->_disconnect can be set to null instead of a
boolean (it appears when ...

742fe3193b68ccb872d373f25bc047d0d78b1539 authored over 11 years ago
Be compatible with readAll().

dd0cf28a33d9ebbe475269d4e62a30cf525666e3 authored over 11 years ago
Update composer.json.

929284f80dfa944f518ec7b048ed7a3f11c4741e authored over 11 years ago
Ease rolling-release.

9b930b99d6bd561fb293c9ccc72d7ac6f7718175 authored over 11 years ago
Prevent a null node (please, see details).

Imagine the following scenario: a client and a server, merged together
(thanks to Hoa\Socket\Con...

51278006cbb2c0e730aa3c549ab5464893ccc8ff authored almost 12 years ago
Merge branch 'crypto'

80c011ecec260375162523defec8c28e70800b5b authored almost 12 years ago
Add encryption support.

7820ad6ad21a3310fa755320840256ad5972c43e authored almost 12 years ago
Clear type hints on PHP5.3.*.

40307349ee637d187028fa430418b28f3cd5e50d authored almost 12 years ago
Clear type hints on PHP5.3.*.

d3f7406e65a0ab78b886741d6a605b556967b922 authored almost 12 years ago
Try crypto.

6830694ca7eae6a0630960c7c8af656f8d81e49c authored almost 12 years ago
Update code performance. #mania

0eb4337cdf63ff59fd6411d20a89a6b67a14d2a2 authored almost 12 years ago
Handle the merge of a client and a server.

ca8ac0bc3d67db9a6728d2710c49e0ec6820ce77 authored almost 12 years ago
New connection system (evolution and abstraction).

Hoa\Socket\Connection is a sub-library.
Hoa\Socket\Connection\Handler now support server and cli...

210600925993c9b1d50ca18be02814a7a4d01ed2 authored almost 12 years ago
Add the Hoa\Socket\Server\Group for semantics.

“Wrapper” around Hoa\Socket\Server\Handler::merge() to avoid
ambiguities and add code semantics....

b928911ee29f73daa28a58977ecd85a431735dcd authored almost 12 years ago
Welcome Hoa\Socket\Server\Handler \o/!

This class provides a server handler: a complete server skeleton.
We are able to run() a server,...

df1dbbd328051ad676fe1d7871015eacf7ef98fb authored almost 12 years ago
Consider other servers when selecting connection.

select() can work on different connections, example:

$server = new Hoa\Socket\Server('tcp:...

93fdbb713549c7200b9e406835aa6ba356c54f28 authored almost 12 years ago
Update disconnect state.

A connection is disconnected when instanciating.

1b2ea99ad5265785a2d9ef61ed8caf374b11e5c5 authored almost 12 years ago
Avoid an implicit cast. #performance

d69c8bbec6539440e233f18d3eaf38d7755d05c9 authored almost 12 years ago
Simplify getNodeId(). #performance

We cast the resource as an integer, and then we md5 it. In this way, we
save an output buffer cr...

d714c9e785e883cd749fd7914df41112ed280493 authored almost 12 years ago
Fix returned type.

2f8176bfe651bd29b4c2138d2aaefd4415161e7f authored almost 12 years ago
Happy new year \o/.

54e599016340504bc9b685e7924392c174415724 authored about 12 years ago
Add composer.json.

03216d912258491beeb980ff967506554cfa1b61 authored over 12 years ago
Libification (split from Central).

10e48b1fd68ebc48299da8482a692d95dc45a1db authored over 12 years ago
Fix length exception messages, numbers etc.

afe8018143ea6ed9d788cb91afb51e3f1c41efd2 authored over 12 years ago
Add exception if length is lower than or equal to 0.

d27a9353452126ff97be990ca4363017d0c1a8ac authored over 12 years ago
Detect when pipe is broken while writing on socket.

294786e96a028df6c04e3e80f54dc82d36144fe9 authored over 12 years ago
#merge

df492869dbfbb9d939cbb0ab24f3ca48744a7f14 authored almost 13 years ago
Merge.

9b32a8802c76cc3b788adcfb1a8122064464b1df authored about 13 years ago
s/2007-2011/2007-2012/

b3de1b187a298ceb38e575e33737462d8cd00718 authored about 13 years ago
Remove useless allocations. #performance

78dd356ba2831b4fb9d59232808576ae4de3523b authored about 13 years ago
#merge

43c1d889c950811c1a4ed6358d5f18584d0731b0 authored about 13 years ago
Merge (but why?).

dd56497ae77bd4c7d55e6da82ab84765de31999e authored about 13 years ago
Add a warning in the API documentation.

9b11a0192f9890118f5b65445d3f8531a7bf7be4 authored over 13 years ago
Ameliorate remoteAddress affectation.

9af969730c96987c328c4abdcb75712314ae664d authored over 13 years ago
Remove a useless instruction (old remote address processus).

858495e534596110954bd8ad0c74ca479cb4957b authored over 13 years ago
connect() and connectAndWait() now returns $this. Allow this: new Hoa\Socket\Server()->connect(); in a near future.

85f61b18112847684772de7399257c4f6eb5020b authored over 13 years ago
Complete IPv6 support detection. Thanks to the patch that fix the PHP bug 55212.

Please, see the PHP revision r313267.

31774130d07e0071c85efd683662273d12356721 authored over 13 years ago
Update exception numbers and resolve some namespaces.

a0c86adad4f2db0f3165b0d455c14da1fe6e0888 authored over 13 years ago
Add IPv6 support detection (if ext/socket is enabled).

729f0778d0768cac58678727bebba0548fca9c67 authored over 13 years ago
Default value fo _remoteAddress is null, not false.

f1b324de173e01dad4bcf5083841de706030741e authored over 13 years ago
Simplify remote address procedure. Bye bye getRemoteIp() and getRemotePort() and hello to getRemoteAddress().

4da4e172e553a3e739a316b0eb275d89e669f808 authored over 13 years ago
Add * as a valid IPv4 (which is equivalent to 0.0.0.0).

c7a03ce3d27ca808953b5fbc23e86c9639cbda7c authored over 13 years ago
Remove \Hoa\Socket\Socketable concept, we directly give a string representing a socket URI, like this: “tcp://[fe80::1]:80” or “tcp://foo” etc. Then, the subpackage \Hoa\Socket\Connection has no reason to live. We move it up to the package root.

a854f965642ae10f7a088b5f7d77a50cded392cf authored over 13 years ago
Consider remote address when receiving and sending data. Then, we add the considerRemoteAddress(), isRemoteAddressConsidered(), getRemoteIp() and getRemotePort(). By default, remote address is not considered.

346c8c9048132df380b05b97a83e1ad14465d4e3 authored over 13 years ago
Update exception message.

d86468f244fdd22db3c206fcfd4af3e81ea81ea2 authored over 13 years ago
Default value for UDP is now self::BIND instead of self::BIND | self::LISTEN.

Better isn't it :-) ?

323acea04dcb5bc96472a6381343aaf60b056292 authored over 13 years ago
mv Framework/* .

c58ecee2448eb1ff7b478ca05332c38f45cac389 authored almost 14 years ago
Add the getCurrentNode() method.

2184892302df20ff03f82897a974662dbbfc7889 authored almost 14 years ago
Add support of the wildcard * as an address. It's like INADDR_ANY.

4f43c1f0c0cfd18fe9c2d2dad1d2cc3d6bf99884 authored almost 14 years ago
Mania: format code and update performance by removing a useless instruction.

4e040d6f877ebad7b97691f3cf7198ff8a137c7e authored almost 14 years ago
Fix a typo in a method name: setAdress to setAddress…

fd4e52aaceab53865dd68f69979ca97ab6f530a6 authored almost 14 years ago
Closing slave does not have the same effect that closing master.

7d13c3f99782fa7fde28f2600b0093a520ad8ebb authored almost 14 years ago
Use dnew() for instanciating node.

53ae1bd4c5523698942a5637b77583192071a936 authored almost 14 years ago
Update performance of readLine().

c000acb5d9ef1ed5a9ba44394f361160880ae748 authored almost 14 years ago
Ameliorate readLine() and readAll().

cfa3cf10f3064117bd012bf0dbcb8d9c0da73139 authored almost 14 years ago
Simplify read(), readLine() and readAll() methods.

0dbea1c15b08ce1920c193507ccc8e5d668457b5 authored almost 14 years ago
Change ENDERLIN to Enderlin '-.-.

c1d2785034f6af52a69eeb70f73fafe04dc8cf5a authored almost 14 years ago
Finally, change (c) for ©, we save 2 bytes ;-).

5f63cb96f881df51c624b655ad98e16b4025ea7d authored almost 14 years ago
Remove ambiguity about copyright: 2007, 2011 to 2007-2011.

d7bcf40d54e3de6683d04b2e8c8ab8ad007a8c79 authored almost 14 years ago
Change licence clause from GNU GPLv3 to new BSD.

4629c7a1324b5b7053de256a3ede73543cad3687 authored almost 14 years ago
Change license block from GNU GPLv3 to new BSD.

004218cec47664b65bbba2c5cb604885b919799c authored almost 14 years ago
Resolve conflict.

d5fee15b320647278249195f3565780870cb1283 authored almost 14 years ago
Fix a bug on Windows (invalid CRT warning).

487c60608a0b4ba2ce5f77027badb3f79134d1c9 authored almost 14 years ago
Try to fix a bug on Windows7-x64 with CRT problem.

7c6b90555fac8751109dc05c682e2aa2783e2ce7 authored almost 14 years ago
Merge.

0fdf623bb7e59224656c4aedab77bb2b5df95e21 authored almost 14 years ago
Allow to write data of length equal to zero.

af59d55db3238d7cac9e98900461f58dba53a1b4 authored almost 14 years ago
Remove “Hoa Framework” mentions for simply “Hoa”.

c975b553df3ec51f6c18210e3866e582ac2ae8ed authored almost 14 years ago
Extend copyright to 2011.

e78fd36af70b8e6980b6436e5f4d46c04439c9f5 authored almost 14 years ago
Update to PHP5.3.

1ca86a355b18da55e387e81a21bcfdf9dcd4e1e6 authored almost 14 years ago
Change Hoa_Exception for Hoa_Core_Exception.

4d00855e1c0db895ad0d00ba42238ea85c58677e authored almost 14 years ago
Foobar

a3c8727dcd161dbfad2909f58874be70b42b2002 authored about 14 years ago
Remove the require_once 'Core.php' instruction to remove all include_path dependencies.

de6bb1ed289aa97cf93eb4b27b53ef85480f142c authored about 14 years ago
Change Hoa_Stream_Io for Hoa_Stream_Interface.

b5913713ba5d3fcca6e96ce9c57356a98668bfd3 authored about 14 years ago
Better&nicer way to solve the problem.

69e11c91afc5fb0193d0e105570678dc77b09aae authored about 14 years ago
Prevent against closing the master socket by error.

00e7d35771f1da270adeb14a790c402cfbfd3d4b authored about 14 years ago
Remove comments.

0416f05b1e3fef10200dcb89d926b987051b6747 authored over 14 years ago
Support auto-disconnect and better disconnecting when using select().

5a025728b7841ed8047832ae355f60f3e34ffdce authored over 14 years ago
Move node name from the select() method argument to set/get- NodeName() method. Add the getNodes() methods.

8ed2416ce566542d5359b7830c502385a6ace217 authored over 14 years ago
Add select() support (with node notion).

19550d72309d5955044fe3238821f5b537234f56 authored over 14 years ago
Support /etc/hosts shortcut.

ad6bd08ce358217721d3987b5ff58128ba193ee4 authored over 14 years ago
Set writeArray() compatibles with the Hoa_Stream_Io_Out interface.

d83bea518ae42d9b853b7caa5a8b3e45efd08e19 authored over 14 years ago
Add a default value to the first parameter of the readArray() method. Now it is null by default.

6b074d299454d43ab6a2621e8eb3e054a7806d87 authored over 14 years ago
Adapt code to the previous revision (open() to _open() and close() to _close()).

e7762cce7712320a9eba3478f7cf3f16c7c054c1 authored over 14 years ago
Change Hoa_Framework for Hoa_Core.

db78d84ec7295a130a07e084a86dba116440dd00 authored over 14 years ago
Update streams. Now readAll() reads from 0/SET to 0/END strictly. Update performance in the global code. writeLine() adds a newline etc.

3d21c9bc9ed56b15cf06b5ad8bb4ac73a132dbec authored over 14 years ago
Add the writeBoolean() method.

b24852deafcd29d5411914b2639a6a8137a28c3b authored over 14 years ago
Add the readBoolean() method.

8f758183fb4224247f4adc399196e19ef05b6055 authored over 14 years ago
Change copyright year.

e5ae5fc56f25ba40a45cbfbc7f420a905ad26af3 authored over 14 years ago
Prepare the coming out of Hoa 0.5.0b!

9e2844bff58dc9dedc90e7cbc4f1a733e1b7e92a authored about 15 years ago
Create the new architecture.

f923cbf7fdc3e33d79502332b16e05fc20071d25 authored over 15 years ago
Create the new architecture.

6b57d884f93ad63bd62a9d82c8b6c7226d2358ef authored over 15 years ago
Add the readArray() and writeArray() methods on stream IO interfaces, and adapt dependencies.

cdb91aa949ba79fc52218a43fffe00817e215f99 authored over 15 years ago