+.\" ==========
+.It Bq Er EINVAL
+.Fa socket
+has been shut down.
+.\" ==========
+.It Bq Er ENOBUFS
+Insufficient resources were available in the system
+to perform the operation.
+.\" ==========
+.It Bq Er ENOTCONN
+Either the socket is not connected
+or it has not had the peer pre-specified.
+.\" ==========
+.It Bq Er ENOTSOCK
+The argument
+.Fa socket
+refers to something other than a socket (e.g., a file).
+.\" ==========
+.It Bq Er EOPNOTSUPP
+.Fn getpeername
+is not supported for the protocol in use by
+.Fa socket .