Thread: Winsock WSAAsyncSelect

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1

    Winsock WSAAsyncSelect

    Hello,

    can anyone give me sample source code for WSAAsyncSelect(); and can i use this command in console API program??

    Thanks.

  2. #2
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    '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.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Winsock issues
    By tjpanda in forum Windows Programming
    Replies: 3
    Last Post: 12-04-2008, 08:32 AM
  2. Where do I initialize Winsock and catch messages for it?
    By Lithorien in forum Windows Programming
    Replies: 10
    Last Post: 12-30-2004, 12:11 PM
  3. winsock
    By pode in forum Networking/Device Communication
    Replies: 2
    Last Post: 09-26-2003, 12:45 AM
  4. WSAAsyncSelect I/O & Multithreading :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 09-27-2002, 02:28 AM
  5. WSAAsyncSelect I/O Mode :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 1
    Last Post: 05-12-2002, 03:23 PM