gNash <(E-Mail Removed)> wrote:
> i am receiving UDP packets from sender which sends (sender's
> while receiving i used water mark level value upto 10K , and i
> am using MSG_WAITALL in recvfrom system call. but recvfrom returning
> 4K ever.
> I cannot understand what is the problem is and why it is not
> waited for fill completely.
I could easily be mistaken, but I don't think that MSG_WAITALL is
supposed to have any effect on a UDP socket (might be more accurate to
say SOCK_DGRAM socket, not sure). You get one datagram's worth of
data per receive call. Any further aggregation of the data in
multiple UDP datagrams is up to the application.
rick jones
--
firebug n, the idiot who tosses a lit cigarette out his car window
these opinions are mine, all mine; HP might not want them anyway...

feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...