How to get Server IP for a dial up connection

  • Thread starter Thread starter KC Eric
  • Start date Start date
K

KC Eric

Hi all,

There are 2 PCs, A and B,

A is trying to connect to B through modem, I have no problem doing
that(using the example in http://www.codeproject.com/aspnet/webdialup.asp)

, the connection is established successfully, I can get IP address of A
(A is client, B is server).

Now I want A to upload some files to B, but I don't have the IP address
of B, how can we get it?

Thanks!

KC Eric
 
Hi,

Did you try to get the gateway?

If not most probably the server has another IP (the one connected to the
network) you may use that one (or the name if DHCP is used)
 
Hi,

Thanks for your reply!

I tried to get the gateway, but the gateway is the same as the IP
address. Also, A is not connected to the Internet nor network, it just
dials up to B and uploads some files to B, so I need the server IP for
that particular connection, thanks!

KC Eric
 
Back
Top