Berkeley description: An attempt was made to access a
file in a way forbidden by its file access permissions.
Microsoft C description: Permission denied. The file's
permission setting does not allow the specified access. This error
signifies that an attempt was made to access a file (or, in some cases,
a directory) in a way that is incompatible with the file's attributes.
For example, the error can occur when an attempt is made to read from a
file that is not open, to open an existing read-only file for writing,
or to open a directory instead of a file. Under MS-DOS versions 3.0 and
later, EACCES may also indicate a locking or sharing violation. The
error can also occur in an attempt to rename a file or directory or to
remove an existing directory.
WinSock description: Same as Berkeley.
The requested address is a broadcast address, but the
flag was not set (i.e. you didn't call