05-14-2002
1) You actually are dumping a collection of bits into a structure and then you are using the individual members. If you would do what you actually said in paragraph one, there would be no problem. Breaking the data up as it arrives and storing it into the individual members is the way to go.
2) I would hope so
3) I know. You're hardly alone. But the practice still saddens me. I'll get over it.
4) You would be better off to stop thinking like that. You don't transfer a structure from one system to another. You tranfer a collection of data that might be called a frame, or a packet, or a cell, or a datagram. The data might be stored in structures at both ends. But the data comes out of the structure and is used to assemble a packet. The packet arrives at the other end. The data gets broken up and stored back into a similiar structure. I know, you want the packet to
be the structure. I know it looks attractive to do that. I know it looks like it saves a lot of effort. But this why you're having trouble now.
Suppose, for a minute, that c had nothing called a structure. How would you write the code then? For the most part, that is what you should do. That would force you to code the algorithms correctly. Then go back and use structures only to organize collections of variables. That is all that structures are intended to do.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI all
I think i can get a perfect solution for our problem here.
we r using oracle 7i on hpux 11.0 as a billing server .The thing is it used to get hanged sometime and we need to unmount and need to mount the oracle DB then we need to start the oracle process.The process running in that... (6 Replies)
Discussion started by: edwin_francis
6 Replies
2. UNIX for Dummies Questions & Answers
Experts!!!
I have an urgent solution for a problem with the HP Unix workstation.
I am not able to check the file system for a particular volume.
when i tried with
$> fsck -o full /dev/vg00/rlvol9
Returns..
full file system check required... exiting...
$>
How do i recover the... (4 Replies)
Discussion started by: anent
4 Replies
3. HP-UX
Hi Everyone,
I have an HP3000 server on which I am unable to login to the server.I connected the server to my laptop thru a serial cable and I am unable to login thru any user ..when i enter my login id ..the system gets me back to the login prompt without asking me for a password.
Cud u pls... (1 Reply)
Discussion started by: hunk
1 Replies
4. Filesystems, Disks and Memory
Hello,
I am having a Problem with an Arena EX3 Raid on an HPUX 10.20 Workstation.
Everything is working fine until I shutdown the Server and power off the Raid. Then I get a filesystem corruption on the Raid. This happens everytime.
The Raid is configured as Raid Level 1.
I would really... (1 Reply)
Discussion started by: nleuenbe
1 Replies
5. HP-UX
Hi all!
I am running an NIS Server with Linux. Now I want to configure a HPUX-Server to use this NIS Server. I have don all the configuration stuff exactly as described in the documentation.
When I run YPWHICH, it shows me the right server and domain. If I run YPCAT passwd, I'll get the... (4 Replies)
Discussion started by: pepade
4 Replies
6. Shell Programming and Scripting
I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies
7. HP-UX
Hi Gurus,
I'm using HP-UX B.11.23 system. I've been having some problem in mounting a filesystem that has been defined in /etc/fstab as shown below.
fstab entries:
/dev/vgsap/ora10264 /oracle/PRD/102_64 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vgsap/orasapreog... (2 Replies)
Discussion started by: superHonda123
2 Replies
8. HP-UX
I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email.
original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies
9. HP-UX
i am trying to build on hpux-itanium 64 bit platform. my application needs to link to 64 bit version of the library libCsup.so
This library is present in /usr/lib/hpux64/libCsup.so
I am specifying the location of this library as linker flags
LDFLAGS := -Wl,-N -Wl,+s... (0 Replies)
Discussion started by: skyineyes
0 Replies
10. HP-UX
Hi,
I am getting this error during kerberos server setup in HPUX 11.31 :
kdb_create: unknown LDAP backend error while adding master entry to the database
ps -ef|grep ldap
root 3905 1 0 13:11:36 ? 0:00 /opt/ldapux/bin/ldapclientd
Unable to find out the meaning of this... (1 Reply)
Discussion started by: Amit Kulkarni
1 Replies
CISS(4) BSD Kernel Interfaces Manual CISS(4)
NAME
ciss -- HP/Compaq Smart ARRAY 5/6 RAID controllers
SYNOPSIS
ciss* at pci? function ?
DESCRIPTION
The ciss driver provides support for the CISS interface implemented by fifth and later generations of the HP/Compaq Smart ARRAY family of
controllers.
The CISS interface is defined in the document entitled CISS Command Interface for SCSI-3 Support Open Specification, Version 1.04, Valence
Number 1, Compaq Computer Corporation, 2000/11/27.
This driver supports several Compaq and HP controllers implementing the CISS interface, including:
o Compaq Smart Array 5300 version 1
o Compaq Smart Array 5300 version 2
o Compaq Smart Array 5i version 1
o Compaq Smart Array 5i version 2
o HP Smart Array 5312
o HP Smart Array 6i
o HP Smart Array 641
o HP Smart Array 642
o HP Smart Array 6400
o HP Smart Array 6400 EM
o HP Smart Array E200
o HP Smart Array E200i
o HP Smart Array P400
o HP Smart Array P400i
o HP Smart Array P600
o HP Smart Array P800
o HP Smart Array V100
o HP Smart Array 1 through 13
These controllers support RAID 0, RAID 1, RAID 5, JBOD, and superpositions of those configurations.
Although the controllers are actual RAID controllers, the ciss driver makes them look just like SCSI controllers. All RAID configuration
must be done through the controllers' BIOSes.
Hardware from previous generations of this product family may be supported by the cac(4) driver.
SEE ALSO
bio(4), cac(4), intro(4), pci(4), scsi(4), sd(4)
HISTORY
The ciss driver first appeared in NetBSD 3.1.
AUTHORS
The ciss driver was written by Michael Shalayeff <mickey@openbsd.org>, and ported to NetBSD by Tonnerre Lombard <tonnerre@netbsd.org>.
BSD
May 28, 2008 BSD