The specified address has a different type than the socket bound to the specified peer address. The attempt to connect timed out before a connection was made. Too many symbolic links were encountered in translating the pathname in address . A component of the pathname does not name an existing file or the pathname is an empty string. A component of the path prefix of the pathname in address is not a directory.
Remote host reset the connection request.
The local interface used to reach the destination is down. No buffer space is available. The socket is listening and can not be connected. Portable applications should close the file descriptor and create a new socket before attempting to reconnect.