PHP » GoLang |
login |
register |
about
|
GoLang ZMQSocket::__construct
request it (324)
GoLang replacement for PHP's ZMQSocket::__construct
[edit | history]
ZMQSocket::__construct(PECL zmq >= 0.5.0) ZMQSocket::__construct — Construct 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. |
more
Recently updated
more
Most requested
more
Last requests
|