开发者

readv from Socket returns ENOENT

What can be the reason for a Linux socket to set the error to ENOENT on readv() ?

The socket in question is n开发者_运维百科on-blocking and runs on Ubuntu 10.04


errno is only set when a system call returns -1. You should only read it after checking the return value of readv.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜