-
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!!
Eric
-
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?
Similar Threads
-
By NikhilSriv in forum Java
Replies: 1
Last Post: 06-14-2006, 05:24 AM
-
By Thomas Eyde in forum .NET
Replies: 5
Last Post: 06-18-2002, 10:41 AM
-
By Lymarie in forum Database
Replies: 0
Last Post: 04-02-2001, 10:16 AM
-
By Larry Hunter in forum Database
Replies: 1
Last Post: 03-18-2001, 10:31 PM
-
By mrfelis in forum VB Classic
Replies: 9
Last Post: 04-25-2000, 10:08 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks