Hy everbody, Is it possible to reopen a socket? I am trying the following: formatCtx->iformat->read_close(formatCtx); … formatCtx->iformat->read_header(formatCtx); The close works, but the reopen throws some errors.