Thread: Connect to external IP

  1. #16
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    what i meant by using select if you know you need to recieve a huge amount of data, only once! using selcet you can tell when you have incoming data, and then recv it, without any blocking!
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe - Developing free software for the community.

  2. #17
    Registered User
    Join Date
    Jan 2005
    I know select() will tell you that there is data available but not how much. ioctlsocket will tell you how many bytes are waiting allowing you to request that many bytes from recv without blocking.

  3. #18
    Registered User
    Join Date
    Dec 2004
    It actually tells you how many bytes were available up to the time ioctlsocket returns - it doesn't make any guarantees about the availability of data later.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  2. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 02:28 PM
  3. IP without connecting to external socket
    By Hunter2 in forum Networking/Device Communication
    Replies: 5
    Last Post: 08-26-2003, 07:50 AM
  4. debug to release modes
    By DavidP in forum Game Programming
    Replies: 5
    Last Post: 03-20-2003, 03:01 PM