|
ZMQSocket::connectConnect the socket Description
public ZMQSocket ZMQSocket::connect
( string
$dsn
[, boolean $force = false
] )Connect the socket to a remote endpoint. The endpoint is defined in format transport://address where transport is one of the following: inproc, ipc, tcp, pgm or epgm. Parameters
Examples
Example #1 A ZMQContext example Construct a new context and allocate request socket from it
<?php Return ValuesReturns the current object. Throws ZMQSocketException on error. |