Hello,
can anyone give me sample source code for WSAAsyncSelect(); and can i use this command in console API program??
Thanks.
Hello,
can anyone give me sample source code for WSAAsyncSelect(); and can i use this command in console API program??
Thanks.
'Tis a bit funky. You could create a window from your console program, a hidden one if you want, and have a message loop and a windowprocedure and everything, or you could look into WSAEventSelect.
Just another empty "gimme the code I'm too dumb to use a search engine" post.
No information on what it's for, what's been tried so far, what experience level to aim at - nada, zilch, zippo, nowt.
Read this and get a clue
http://www.catb.org/~esr/faqs/smart-questions.html
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.