|
ZMQSocket::__constructConstruct a new ZMQSocket Description
ZMQSocket::__construct
( ZMQContext
$context
, int $type
[, string $persistent_id = null
[, callback $on_new_socket = null
]] )
Constructs a ZMQSocket object. Parameters
Examples
Example #1 A ZMQSocket example Using callback the bind/connect socket
<?php The callback signature
Return ValuesThrows ZMQSocketException on error. |