code: public boolean isSocket() throws SftpStatusException, SshException {
  		// This is long hand because gcj chokes when it is not? Investigate why
  		if ((getAttributes().getPermissions().longValue() & SftpFileAttributes.S_IFSOCK) == SftpFileAttributes.S_IFSOCK) {
  			return true;
  		}
  		return false;
  	}
docs: Determine whether the file is pointing to a socket.
  
  @return boolean
  @throws SshException
  @throws SftpStatusException