|
-
June 10th, 2004, 02:06 AM
#1
how to send <ctrl-z> to hyperterminal
hi!
i am working on a project where i need to send SMS through GSM phone.
so, basically, in hyper terminal i can type command and press <CTRl+Z> which marks the end of command and press enter to send the message.
how i can send <CTRL-Z> through class streamwriter? anyone any guess?
basically, its ASCII equivalent is "1A".
If you think you CAN, you can, If you think you CAN'T, you are probably right.
Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.
-
June 17th, 2004, 09:37 AM
#2
well, as always, long live C.
anykind of Ascii symbol can be send to any place, anywhere using the format
\x[ASCIICODE]
so, in my case it came as
\x1A
If you think you CAN, you can, If you think you CAN'T, you are probably right.
Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.
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
|