Starting a dialup netwoking under 3.1

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.
youcefAsked:
Who is Participating?
 
coxCommented:
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
 
youcefAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.