public function __construct(RawZMQSocket $socket, LoopInterface $loop)
{
$this->socket = $socket;
$this->loop = $loop;
$this->fd = $this->socket->getSockOpt(ZMQ::SOCKOPT_FD);
$writeListener = [$this, 'handleEvent'];
$this->buffer = new ZmqBuffer($socket, $this->fd, $this->loop, $writeListener);
}