ZMQSocket::bind
(PECL zmq >= 0.5.0)
ZMQSocket::bind — Bind the socket
Description
Bind the socket to an endpoint. The endpoint is defined in format transport://address where transport is one of the following: inproc, ipc, tcp, pgm or epgm.
Parameters
-
dsn
-
The bind dsn, for example transport://address.
-
force
-
Tries to bind even if the socket has already been bound to the given endpoint.
Return Values
Returns the current object. Throws ZMQSocketException on error.
- Функция ZMQSocket::bind() - Bind the socket
- Функция ZMQSocket::connect() - Connect the socket
- Функция ZMQSocket::__construct() - Construct a new ZMQSocket
- Функция ZMQSocket::disconnect() - Disconnect a socket
- Функция ZMQSocket::getEndpoints() - Get list of endpoints
- Функция ZMQSocket::getPersistentId() - Get the persistent id
- Функция ZMQSocket::getSocketType() - Get the socket type
- Функция ZMQSocket::getSockOpt() - Get socket option
- Функция ZMQSocket::isPersistent() - Whether the socket is persistent
- Функция ZMQSocket::recv() - Receives a message
- Функция ZMQSocket::recvMulti() - Receives a multipart message
- Функция ZMQSocket::send() - Sends a message
- Функция ZMQSocket::sendmulti() - Sends a multipart message
- Функция ZMQSocket::setSockOpt() - Set a socket option
- Функция ZMQSocket::unbind() - Unbind the socket
Коментарии
404 Not Found