Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: cgi@crl.com (Paul Smith)
Subject: What's with Inet system headers??
Date: 13 Feb 1994 18:54:05 -0800	[thread overview]
Message-ID: <2jmp4d$4jt@crl2.crl.com> (raw)


I'm supposedly just re-compiling my Berkeley sockets library (TCP/UDP/IP)
on Alpha/OSF1/v1.3 and I'm finding outright bugs in the system headers:

/usr/include/netinet/in.h declares teh struct:

	struct in_addr {
			...

			u_long Saddr;
			}

	Well we all know that longs are 64 bits on alpha?? After hacking the
	u_long to a u_int, my library started working!!?!?!?)(*)*

	That is just synchronous I/O TCP and UDP.

	I tried to test my asynhronous with SIGPOLL signaling when I/O is
	ready and the call ioctl(fd, I_SETSIG, S_INPUT) returns in errno
	invalid operation on socket.

Please don't tell me that OSF1's Berkey socket's implimentation is not a
stream's based implimentation and that I_SETSIG, poll() can not be used VS
more traditionaly Berkeleyisms of fcntl(fd, FASYNC,,) and select and SIGIO
must be used instead the the SYSV'ish streams way???

What gives here??
	




             reply	other threads:[~1994-02-14  2:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-02-14  2:54 Paul Smith [this message]
1994-02-18 22:28 ` What's with Inet system headers?? Dave Cherkus
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox