in socket, how to know send buffer is full?

This is a discussion on in socket, how to know send buffer is full? within the Networking/Device Communication forums, part of the General Programming Boards category; thanks!...

  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
    32,834
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 02:51 PM
  2. Using recv() and send()
    By Sam_bham in forum C Programming
    Replies: 3
    Last Post: 06-08-2004, 05: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, 10:28 AM

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