Re: Getting it to all work on HPUX

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Frediano Ziglio wrote:
> libc getsockopt use a 32bit while xnet version of the
> same function use 64bit. 

http://docs.hp.com/en/B3921-90010/xopen_networking.7.html

	"Using any of the Networking Services(XTI, sockets) requires
_XOPEN_SOURCE to be defined and _XOPEN_SOURCE_EXTENDED to be defined with
the value 1."

Does defining them change sizeof(socket_t)?  Does your program then work
correctly?  

See also "OBSOLESCENCE" at the bottom of:

	http://docs.hp.com/en/B3921-90010/getsockopt.2.html

I bet this is fixable.  ISTR something similar before with HP/UX. 

--jkl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.