Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* What's with Inet system headers??
@ 1994-02-14  2:54 Paul Smith
  1994-02-18 22:28 ` Dave Cherkus
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Smith @ 1994-02-14  2:54 UTC (permalink / 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??
	




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-02-18 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-14  2:54 What's with Inet system headers?? Paul Smith
1994-02-18 22:28 ` Dave Cherkus

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