PHP » GoLang |
login |
register |
about
|
GoLang ZMQContext::getSocket
request it (246)
GoLang replacement for PHP's ZMQContext::getSocket
[edit | history]
ZMQContext::getSocket(PECL zmq >= 0.5.0) ZMQContext::getSocket — Create a new socket Description
public ZMQSocket ZMQContext::getSocket
( int
$type
[, string $persistent_id = NULL
[, callback $on_new_socket = NULL
]] )
Shortcut for creating new sockets from the context. If the context is not persistent the Parameters
Examples
Example #1 A ZMQContext() example Basic usage
<?php Return ValuesReturns a ZMQSocket object on success. Throws ZMQSocketException on error. |
more
Recently updated
more
Most requested
more
Last requests
|