|
-
Feb 15th, 2011, 09:22 AM
#1
Thread Starter
Member
Modem Simulator
Hello
I just want to ask you if you can create a code whitch simulates a Modem on a COM Port.
Can someone help me creating the whole Code please?
Thanks alot
Heres the code
CSerial ser;
ser. Open (...);
bool bConnected = false;
do
{
ser. Write ('RING);
ser. Read (...);
if (readData == 'ATA') break;
} while (true);
if (bConnected)
{
ser. Write ('CONNECT);
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|