pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brian Eldridge <beldri@runesoft.com>
To: PostgreSQL Interfaces <pgsql-interfaces@postgresql.org>
Subject: follow up on libpq problem
Date: Fri, 12 Mar 1999 19:40:23 -0600
Message-ID: <36E9C207.407DDCAA@runesoft.com> (raw)

Mental note:  If you're using Win32's, link to libpqdll.lib, not
libpq.lib.
When I changed the lib I was linking to, everything worked fine.
Apparently libpq.lib doesn't initialize WinSock, so the gethostbyname()
call wasn't working.

Thanks to everyone for your help.




Message-ID: <36E9C207.407DDCAA@runesoft.com>
Permalink:  ../36E9C207.407DDCAA@runesoft.com/
Also on:    postgresql.org/message-id/36E9C207.407DDCAA@runesoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: beldri@runesoft.com
  Subject: Re: follow up on libpq problem
  In-Reply-To: <36E9C207.407DDCAA@runesoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox