Here is a problem i'm having.

I really need to create a winsock API wrapper that i can compile as a dll. This wrapper is surposed to allow me to do what the
winsock.ocx can do but i need it to be a dll.

Everything is going fine until i reach the listen function. In this function i need to call the WSAAsyncSelect API with a handle
but a dll doesn't have a handle ( as far as i can tell ) like an ocx. Is there anyway i can overcome this
limitation ?

i'm sort of new to the winsock API thing so i might be missing something.

Thanks in advance.

Asterisk