receive on socket with MSG_WAITALL flag

Discussion in 'Linux Networking' started by Shanthi Paladugu, Nov 8, 2004.

  1. Hi,

    When a recv(sock, buf, len, MSG_WAITALL) is done on a blocking
    socket, does the call block until len bytes are received into buf? And
    are the bytes taken off the queue with this operation unlike when the
    flag MSG_PEEK is used?

    Shanthi Paladugu, Nov 8, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.