Thread: in socket, how to know send buffer is full?

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    7

    in socket, how to know send buffer is full?

    thanks!

  2. #2
    Registered User
    Join Date
    Oct 2005
    Posts
    7
    I already know how to get the buffer is full (by select function). but, how can set the buffer to empty?

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    You're welcome.
    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. send file through across socket
    By adk1283 in forum C++ Programming
    Replies: 4
    Last Post: 08-16-2005, 01:51 PM
  2. Using recv() and send()
    By Sam_bham in forum C Programming
    Replies: 3
    Last Post: 06-08-2004, 04:36 PM
  3. Tetris Questions
    By KneeGrow in forum Game Programming
    Replies: 19
    Last Post: 10-28-2003, 11:12 PM
  4. hashing help
    By alokin in forum C Programming
    Replies: 17
    Last Post: 10-28-2002, 06:33 PM
  5. getline problem
    By Unregistered in forum C++ Programming
    Replies: 4
    Last Post: 10-06-2001, 09:28 AM