|
ZMQSocket::__constructConstruct a new ZMQSocket Beschreibung
ZMQSocket::__construct
( ZMQContext
$context
, int $type
[, string $persistent_id = null
[, callback $on_new_socket = null
]] )
Constructs a ZMQSocket object. Parameter-Liste
Beispiele
Beispiel #1 A ZMQSocket example Using callback the bind/connect socket
<?phpThe callback signature
RückgabewerteThrows ZMQSocketException on error. |