Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Modem Detect

Modem Detect

RE: Modem Detect

> How can i detect comm port which is connected to modem.

Well one method is to open the comm port. Then you need to know how modems work to talk to the modem.

If you want to know specific information about any of these issues please ask specific questions. If you don't know anything about any of it then you need to find some resources that discuss these technologies and start reading. You are not going to write a modem application in VC in 4 lines of code.

There are plenty of information and sample code resources in MSDN for working with the Win32 COMM API's. There might even be some for working with the Hayes modem AT command set, but different modems have there own extensions to the Hayes standard so depending on what you need to accomplish you might need to consider that.

Then of course Windows supports the Unimodem interface through the TAPI SDK, and there is always the RAS API under most Win32 systems. These may or may not be relevant to your problem since you have not specified what it is.

"But, that's just my opinion... I could be wrong".

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close