Solved

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

Posted on 1999-01-21
5
241 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 200 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

791 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