Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP address of servers using PB9.0 and SQL server 2000

Status
Not open for further replies.

cb333

Programmer
Jan 15, 2007
6
US
Hi , All

im ussing SQL Server 2000 and PB9.0 . im trying to get IP Address of servers (4 servers) to let users select server which they want to application connected to .
I used sqlca.servername , but we have the same servername for these servers like :
116.123.11.23 new_sql (servername)
116.123.11.21 new_sql (servername)

Does anyone know how to get IP Address of servers ?

Thanks for your help !
 
Try looking on MSDN for these winsock calls:

gethostbyname()
getaddrinfo()
getaddrinfoW()
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top