
here is function to get client ip address (only ipv4),
server address, and fe/be ports , details inside
www.psycho.pl/public/src/pgsql/ivnet.tar.bz2

please test it in yours systems (i tested on Debian 2.4.21 with grsec.)

2. Whatz up with PG_RETURN_UINT16 ??
and with type uintXX ?

And why do you writing a block of code in do { ... } while(0) i thing that
{ ... } will be this same (????)

And  only types with length == -1 in pg_type must have int32  header with
sizeof () this struct ?

And to better future try dont use words like 'using' to name of variables
because in c++ this words are keywords .... :/

thx
 bye


Mon, 16 Jun 2003 21:59:34 +0200 (CEST)
ivan <ivan@psycho.pl>
same new code 



  here is function to get client ip address (only ipv4),
  server address, and fe/be ports , details inside
  http://www.psycho.pl/public/src/pgsql/ivnet.tar.bz2

  please test it in yours systems (i tested on Debian 2.4.21 with grsec.)

  2. Whats up with PG_RETURN_UINT16 ??
  and with type uintXX ?

  And why do you writing a block of code in do { ... } while(0) ?
 i thing that { ... } will be this same (whitout 'while') (????)

  And only types with length == -1 in pg_type must have int32  header with
  sizeof () this struct ?

  And to better future try dont use words like 'using' to name of variables
  because in c++ this words are keywords .... :/

  thx
   bye

Wed, 2 Jul 2003 11:52:20 +0200 (CEST)
User For Mails <iv@rex.anfa.pl>
same new code 