hostIP as variable.
Im trying to figure out how i can take my IP address, store it in a database, and then allow users to retrieve it into there client software as a variable. im assuming its something along the lines of.. ( in plain english)
1. server form loads winsock1 obtains MY IP address ( how?)
2. it then takes the IP address and updates a table on the sql server
3. client wants to connect, the remotehost IP is then pulled from the sql database.
4. client connects
how would one go about finding the IP address and then how does it work with the mysql database.. can it be done as a string? kind of like text where 127.0.0.1 ( example) is nothing more than a string. i hope im on the right path here.. thanks in advance for any help!!
forgot to mention....
when i try the winsock1.localip it comes back with my internal IP ( 192.168.x.x) as opposed to my actual internet IP.. is there a way to get the internet IP address?
By NikhilSriv in forum Java
Last Post: 06-14-2006, 06:24 AM
By Thomas Eyde in forum .NET
Last Post: 06-18-2002, 11:41 AM
By Lymarie in forum Database
Last Post: 04-02-2001, 11:16 AM
By Larry Hunter in forum Database
Last Post: 03-18-2001, 11:31 PM
By mrfelis in forum VB Classic
Last Post: 04-25-2000, 11:08 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center