public function listen($backlog = 0)
    {
        $ret = @socket_listen($this->resource, $backlog);
        if ($ret === false) {
            throw Exception::createFromSocketResource($this->resource);
        }
        return $this;
    }
public function listen($backlog = 0)
    {
        $ret = @socket_listen($this->resource, $backlog);
        if ($ret === false) {
            throw Exception::createFromSocketResource($this->resource);
        }
        return $this;
    }
public function listen ( $ backlog = 0 ) { $ ret = @ socket_listen ( $ this -> resource , $ backlog ) ; if ( $ ret === false ) { throw Exception :: createFromSocketResource ( $ this -> resource ) ; } return $ this ; }
start listen for incoming connections

@param int $backlog maximum number of incoming connections to be queued
@return self $this (chainable)
@throws Exception on error
@see self::bind() has to be called first to bind name to socket
@uses socket_listen()
start listen for incoming connections