Skip to Content.
Sympa Menu

freetds - Re: [freetds] Getting it to all work on HPUX

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Getting it to all work on HPUX
  • Date: Mon, 9 Feb 2009 11:20:06 -0500

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




Archive powered by MHonArc 2.6.24.

Top of Page