Justin
09-16-2002, 10:29 AM
Does anyone know how I can get the Server IP Address after using Ras to make a connection?
Normally you can use RasGetProjectionInfo(..) which returns a structure RASPPPIP. However according to the Microsoft Web Site, in Pocket Pc, this structure (for Win Ce only) does not include the szServerAddress member.
What else can I use? Unfortunatley I do not know the address before I dial, but need to later so that I can make a socket connection.
Ideas much appreciated.
Thank you.
Justin
Normally you can use RasGetProjectionInfo(..) which returns a structure RASPPPIP. However according to the Microsoft Web Site, in Pocket Pc, this structure (for Win Ce only) does not include the szServerAddress member.
What else can I use? Unfortunatley I do not know the address before I dial, but need to later so that I can make a socket connection.
Ideas much appreciated.
Thank you.
Justin