Point-to-Point Protocol over Ethernet (PPPoE) Application Development (Windows CE 5.0)
PPP over Ethernet (PPPoE) provides the ability to connect a network of hosts over a simple bridging access device to a Remote Access Concentrator. With this model, each host utilizes its own PPP stack and the user is presented with a singular user interface. Access control, billing, and type of Internet service can be managed on a per-user, rather than on a per-site, basis.
To provide a point-to-point connection over Ethernet, each PPP session must learn the Ethernet address of the remote peer, and each PPP session must establish a unique session identifier. PPPoE includes a discovery protocol that provides this functionality.
Windows CE provides PPPoE functionality based on RFC 2516, A Method for Transmitting PPP Over Ethernet (PPPoE).
The following table shows the members and values to set in the RASENTRY structure for a PPPoE connection.
Member | Value |
---|---|
RASENTRY.dwName | Obtained using RasEnumDevices, where szDeviceType==RASDT_PPPoE. |
RAENTRY.szDeviceType | RASDT_PPPoE. |
RASENTRY.szLocalPhoneNumber | The service name. |
To set these values, use the RasSetEntryProperties function.
See Also
Point-to-Point Protocol over Ethernet (PPPoE) | Point-to-Point Protocol
Send Feedback on this topic to the authors