Subject | Re: [IBO] Detecting local IP address |
---|---|
Author | Yovtcho Zagorov |
Post date | 2003-07-29T11:52Z |
Hello mschatz17,
Tuesday, July 29, 2003, 2:26:30 PM, you wrote:
m> Hello NG.
m> Is there an easy way to detect the local IP address used for the IB/FB
m> connection ?
m> I know the GetHostByName(<computername>) method. But this returns ALL
m> local IP addresses. Which one is used for the connection? And is there
m> a way to select the IP address used for the connection ?
m> A solution for Win9x, Win2k and WinXP would be very helpfull.
m> TIA
m> Michael
YZ> Just read the first entry from list of IP addresses returned by
YZ> gethostbyname
m> ___________________________________________________________________________
m> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
m> without the need for BDE, ODBC or any other layer.
m> ___________________________________________________________________________
m> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
m> keyword-searchable FAQ, community code contributions and more !
m> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
--
Best regards,
Yovtcho mailto:y_zagorov@...
Tuesday, July 29, 2003, 2:26:30 PM, you wrote:
m> Hello NG.
m> Is there an easy way to detect the local IP address used for the IB/FB
m> connection ?
m> I know the GetHostByName(<computername>) method. But this returns ALL
m> local IP addresses. Which one is used for the connection? And is there
m> a way to select the IP address used for the connection ?
m> A solution for Win9x, Win2k and WinXP would be very helpfull.
m> TIA
m> Michael
YZ> Just read the first entry from list of IP addresses returned by
YZ> gethostbyname
m> ___________________________________________________________________________
m> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
m> without the need for BDE, ODBC or any other layer.
m> ___________________________________________________________________________
m> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
m> keyword-searchable FAQ, community code contributions and more !
m> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
--
Best regards,
Yovtcho mailto:y_zagorov@...