EACCESEACCES — Permission Denied
The requested access to a file or resource is not allowed by the file permissions.
EOPNOTSUPPThe requested operation is not supported by the socket type or protocol.
An operation valid for sockets in general is not supported by this specific socket type. For example, calling accept() on a datagram socket.
Use the correct socket type for the desired operation. SOCK_STREAM supports accept() and connect(), while SOCK_DGRAM uses sendto() and recvfrom().
EACCESThe requested access to a file or resource is not allowed by the file permissions.
ENODATANo data is available from the STREAMS device or no named attribute was found.
EINTRA blocking system call was interrupted by a signal before it could complete.
EIDRMThe IPC identifier (message queue, semaphore set, or shared memory segment) was removed.
EMSGSIZEThe message is too large to be sent atomically through the socket or transport protocol.
EHOSTUNREACHNo route to the destination host could be found, or an ICMP host unreachable message was received.