The "real IP" is the one visible to the internet. You can't get his private IP on his local network. There's, usually, no direct route for IP packets to go to get to a private IP address. His router has to be setup to allow, and redirect to his machine, the connection request from your machine on the Internet.
Dave Kreskowiak Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
P.S. Using the technique above you can write a library routine that will even create the SQL statement, and you could simply pass it a reference to any DataGridView and the name of the table into which to sert the data, and never (hardly ever) write an INSERT statement again:
InsertData ( "test" , dataGridView4 ) ;
Last Visit: 31-Dec-99 18:00 Last Update: 2-Oct-23 12:33