bronzefury 0 Newbie Poster

Hello,

I was wondering, does WSAAsyncSelect work for a console program? if so, how is this done?

One of the parameters for WSAAsyncSelect is a window handle (HWND), but I don't believe a console application has a window handle.

Thanks,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.