|
-
Jul 23rd, 2003, 07:36 AM
#1
Thread Starter
New Member
CAsyncSocket DGRAM & OnReceive
I've derived a class from CAsyncSocket and overridden OnReceive.
After creating and connecting the socket, I can send data from it ok, but it never picks up data that is being sent to it.
I've tried calling AsyncSelect(FD_READ), but it didn't help.
Any ideas?
-
Jul 26th, 2003, 09:35 AM
#2
Member
Re: CAsyncSocket DGRAM & OnReceive
Hi,
As u have not sent the codes its hard to decide whats happening.
What I think Why u call OnReceive() for receiving. Call Receive().
It should work...
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
|