PPP Source Code

Can I have the PPP scource code for establishing a link between my PC and the mobile phone modem which is connected to serial port or USB port?? I am trying to connect using AT commands... I have given the ATD command and it gave me the CONNECT response and then some junks charaters.. I suppose it is trying to negotiate using the PPP. How to capture this data and give the response. I want the Code .

my email id is jefrine@gmail.com
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I did it.
If you are using Windows for connecting your phone, you have a COM port number for it. Suppose COM5
Now you may establish PPP connection just by creating new Dialup Connection. You should only specify COM5 as your modem.
Also in your connection properties, there are checkboxes like 'open terminal before connection' and 'open terminal after connection', so you may enter any commands before and after you have got 'CONNECT' from modem.
Anything else will be done by Windows network PPP driver (LCP negotiation, password check, CCP and establishing connection) and you will get new network interface with IP address after connection is established.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
P.S. this connection will be not between your PC and phone, but between your PC and remote system you have dialed (in case of CSD)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Wireless Networking

From novice to tech pro — start learning today.