From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f5fb676c4681a0dc,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-13 18:54:05 PST Path: gmd.de!newsserver.jvnc.net!news.edu.tw!news!nctuccca.edu.tw!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!sgigate.sgi.com!olivea!gossip.pyramid.com!decwrl!nntp.crl.com!crl2.crl.com!not-for-mail From: cgi@crl.com (Paul Smith) Newsgroups: comp.unix.osf.osf1 Subject: What's with Inet system headers?? Date: 13 Feb 1994 18:54:05 -0800 Organization: CRL Dialup Internet Access (415) 705-6060 [login: guest] Message-ID: <2jmp4d$4jt@crl2.crl.com> NNTP-Posting-Host: crl2.crl.com X-Newsreader: TIN [version 1.2 PL2] 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??