return rc;
if (rc == 0) return -1; else return rc;
    int read(byte[] buffer, int offset, int count) throws IOException {	double totalWaitTime = (receiveTimeout > 0)	    ? ((double) receiveTimeout) / 1000.0	    : VM_ThreadEventConstants.WAIT_INFINITE;	int rc;	try {	    rc = VM_FileSystem.readBytes(native_fd, buffer, offset, count, totalWaitTime);  }	catch (VM_TimeoutException e) {	    throw new SocketTimeoutException("socket receive timed out");	}		return rc;    }