Solved

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

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

624 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