|
-
Jul 28th, 2000, 03:21 AM
#1
Thread Starter
New Member
Hi!
I am trying to do a chat program using Winsock. I wanna create a class, so I use mswinsck.ocx by References instead of by Components.
The problem is when the client send a connect request to the server. The server do has the ConnectionRequest event. But when use 'Accept' requestID to accept the client's request, there is a error. "Run-time error 40020, Method 'Accept' of object 'IMSWinsockControl' failed".
I did such chating program before by puting the Winsock control on a form and it is ok. The two program (the good one and the bad one) use the same ocx file 'Mswinsck.ocx'.
Could u tell my why??
Thanks a lot
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
|