Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

establish a PPP link in C/C++ under win 95/98

Posted on 1999-01-21
5
Medium Priority
?
247 Views
Last Modified: 2013-12-03
Which API(s) to use in order to establish a PPP link on
a serial line already connected (NULL-modem cable or modem
already connected to peer) in a C/C++ program under Windows
95/98 ?
0
Comment
Question by:johell
  • 2
  • 2
5 Comments
 
LVL 4

Accepted Solution

by:
piano_boxer earned 400 total points
ID: 1419089
Look at the WIN32 RasDial() and related functions.
0
 

Author Comment

by:johell
ID: 1419090
The RasDial() needs a phonebook entry or at least a phonenumber to dial, but as I'd like
to use an already established connection like a Null-modem cable or modems simply
connected, are these API useable ? Or should I "emulate" a modem response
to AT commands on the server side ?
thank you anyway
0
 
LVL 4

Expert Comment

by:piano_boxer
ID: 1419091
Sorry I did'nt notice that it was a serialline. On NT you can install a special serial line modem, but for 95/98 I dont know.

There is a app included with 95/98 that can make a connection between two PC's, maby it is possible to launch this (using CreateProcess()) from within you program.
0
 

Author Comment

by:johell
ID: 1419092
You certainly think of the "direct cable connection" app, but
what I need is to establish a PPP link other the serial line
with any kind of host, not running windows.
0
 
LVL 1

Expert Comment

by:arbitrary
ID: 1419093
there's a simpler easier solution in wininet
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question