Jump to content
IGNORED

Asynchronous comms in Windows


GroovyBee

Recommended Posts

I've been bashing my head against a brick wall trying to get some asynchronous communications going in a VC++ Windows app. Basically I need to write some data and then receive 1 or more bytes of data under a timeout. Any help would be appreciated. I don't want to use an ActiveX control either. If only it was under DOS..... :ponder:

Link to comment
Share on other sites

I think this was the class I used in the past. icon_confused.gif

 

I cannot find my modifications to the class for the receive time out icon_sad.gif

 

But there is a timeout used in the receive routine WaitForSingleObject(). I think I messed with this, I do not have Windows machine set up to try and reconstruct what I did. sorry I cannot be of more help.

 

Fortunately it has been a long time since I have had to program Windows. icon_razz.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...