Solved

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

Posted on 1999-01-21
5
243 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

734 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