Connect to external IP

This is a discussion on Connect to external IP within the Networking/Device Communication forums, part of the General Programming Boards category; what i meant by using select if you know you need to recieve a huge amount of data, only once! ...

  1. #16
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    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

    http://www.Bloodware.net - Developing free software for the community.

  2. #17
    Registered User
    Join Date
    Jan 2005
    Posts
    847
    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
    Posts
    95
    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.

Page 2 of 2 FirstFirst 12
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, 02:07 AM
  2. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 01: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, 02:01 PM

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