zeromq / php-zmq

ZeroMQ for PHP
http://pecl.php.net/zmq
Other
551 stars 119 forks source link

Closing sockets #153

Closed vicaba closed 9 years ago

vicaba commented 9 years ago

Is there any way to close ZMQ sockets? ZMQSocket class has not any close() method.

Thanks.

mkoppanen commented 9 years ago

What do you mean by close? There is a disconnect method for disconnecting the socket. The actual underlying zeromq socket is destroyed when the object holding it is destroyed (assuming non-persistent scenario).

vicaba commented 9 years ago

Thanks, it is working now. I did not found the disconnect method the other day.