- 论坛徽章:
- 0
|
download file fail, error no: 2, error info: No such file or directory
[2013-09-18 15:27:10] ERROR - file: tracker_proto.c, line: 154, tracker server: 10.1.0.115:22122, send data fail, errno: 9, error info: Bad file descriptor
[2013-09-18 15:27:10] ERROR - file: tracker_proto.c, line: 37, server: 10.1.0.115:22122, recv data fail, errno: 9, error info: Bad file descriptor
开始我模仿fdfs_download_file写了多线程的程序,提示上述错误,后来搜了下论坛的其他贴子,说是连接tracker要每个线程用不同的连接,我就使用了tracker_get_connection_r这个函数,结果提示段错误,这是因为需要其他函数配合tracker_get_connection_r才能用吗?
这个问题纠结了好久,鱼大出现帮帮我啊。 |
|