• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

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

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
johell
Asked:
johell
  • 2
  • 2
1 Solution
 
piano_boxerCommented:
Look at the WIN32 RasDial() and related functions.
0
 
johellAuthor Commented:
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
 
piano_boxerCommented:
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
 
johellAuthor Commented:
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
 
arbitraryCommented:
there's a simpler easier solution in wininet
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now