|
-
Apr 13th, 2005, 05:39 PM
#1
Winsock & Multithreading with Activex EXE
Right now i'm making the server part of my client/server application and I came across a winsock error that I just don't know what to do about it...
The error I get is: 10038, The descriptor is not a socket
I have 2 projects, one Activex EXE which I named it "Server Thread" and another project the Server (regular exe).
The Server has a winsock control listening for connections, when it gets a new ConnectionRequest, it makes a new "Server Thread" and passes the requestID to the thread where is another winsock that acceps the connection, that's where I get the error...
Probably I get this error because the "Server Thread" winsock is in another thread, and the requestID is valid there ?
If that's true, then how am I supposed to design my multithreading server ?
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
|