Solved

Starting a dialup netwoking under 3.1

Posted on 1998-06-08
2
170 Views
Last Modified: 2010-04-01
I am developing 16 bit application using MSVC1.52, this application is based on TCP/IP and it meant to be a client front end that connect to a server which is an NT based application that uses RAS services (based on TCP/IP).

The problem I am having is that I want to know:
- how to call from either 3.1 and 95 the server via modem? is there any Winsock function or other library I need to do this.
I've browsed in the internet and I find that most of the tips point to Wininet which comes with IE4, well As you can see my requirements is very simple and i dont want to install IE4 into the clients computer just to get this working!!

- What dlls I need to ship with my applications to make the TCP/IP and the dialupnetworking works under 3.1.

- Is it possible to configure by code the TCP/IP and dialup networking so the client doesnt bother to set them up?

NOTE: although my applivcation is based on TCP/IP (because the serverend is based on TCP/IP) there is no need for the client to be connected to the internet, all these dlls and configuration I asked for a purely needed to make my application to connect to the server.
0
Comment
Question by:youcef
2 Comments
 
LVL 1

Accepted Solution

by:
cox earned 50 total points
ID: 1165411
You can use Trumpet to active WINSOCK. You make a modem connection, user authentication, when you finish all and receive PPP (or SPLIP) transaction, you call Trumpet (tcpip.exe) and  can use winsock.dll libraries normally.

0
 

Author Comment

by:youcef
ID: 1165412
Is it possible to start trumpet dialer via code (C/C++) or an API without having the trumpet dialer window coming up on the screen. Is it possible to do the same when hanging up.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now