|
-
March 11th, 2004, 01:29 PM
#1
Threads and socket connections
I have a basic dialog program that connects to another computer over the internet to retrieve some files (small) using a CSocket connection.
It does this repeatedly about every second or 2 for a limited amount of time.
What I am noticing is that the program hangs, or locks up momentarily sometimes during this. Example: moving the mouse over the dialog stops and starts.
Seems like the sending and receiving is stopping the rest of the program.
Is it possible to put sends and receives in a thread ? If so, is there an example of this somewhere?
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
|