Can socket send / recv set errno 27 (EFBIG) on Solaris? Under which condition this happens?
+2
A:
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 e.g. with search for ENOBUFS
). To me that tells that you might:
- have a parameter exceeding some safety limit. e.g. classical
-1u
bytes which would be caught even before reaching the sockets API. (unlikely for that other error codes are used.) - use send/recv on a wrong socket/file descriptor.
Dummy00001
2010-09-21 19:07:40