Can socket send / recv set errno 27 (EFBIG) on Solaris? Under which condition this happens?
man recv
doesn't document EFBIG
meaning that if you see it, you have encountered a bug in the OS. Contact the Sun Oracle Solaris support.
If you are on the OpenSolaris, the dumb search reveals that sockets themselves do not return EFBIG
(no matches under sys/common/inet/
; compare eg with search for ENOBUFS
). To me that tells that you might:
-1u
bytes which would be caught even before reaching the sockets API. (unlikely for that other error codes are used.)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.