Non blocking listen() with winsock

This is a discussion on Non blocking listen() with winsock within the C Programming forums, part of the General Programming Boards category; I'm reading this book on socket programming and it said that using a non blocking listen() function was too complicated ...

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    32

    Non blocking listen() with winsock

    I'm reading this book on socket programming and it said that using a non blocking listen() function was too complicated for the book. I'm trying to write a program that does other things while it is waiting for a user to connect and i figured the only way to do this is with a non blocking listen(). right?

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Blocking and select() are covered here or get the full pdf version.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. (C++) Winsock connect and listen program. Need Help!
    By azjherben in forum Networking/Device Communication
    Replies: 2
    Last Post: 04-05-2009, 08:44 PM
  2. Listen() Not Blocking Correctly
    By pobri19 in forum Networking/Device Communication
    Replies: 9
    Last Post: 10-29-2008, 05:37 AM
  3. How to initialize a non blocking socket using only winsock library
    By *DEAD* in forum Networking/Device Communication
    Replies: 4
    Last Post: 01-18-2008, 07:03 AM
  4. What exactly does listen() do from winsock 1.1
    By *DEAD* in forum Networking/Device Communication
    Replies: 6
    Last Post: 12-14-2007, 06:48 PM
  5. Winsock: Cutting A listen() Call Short
    By SMurf in forum Windows Programming
    Replies: 2
    Last Post: 10-05-2006, 01:02 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21