Compartir a través de


Determining the IP Address in a PPP Connection

If you want to determine the IP address in a PPP Connection, you can call the RasGetProjectionInfo function after the connection is established. Specify RASP_PppIp as the rasprojection type, and pass the address of a RASPPPIP structure as lpprojection. If this call is successful, the IP address will be returned in the szIpAddress member of the RASPPPIP structure.

See Also

Creating a PPP Dial-up Session

© 1992-2003 Microsoft Corporation. All rights reserved.