send() failed: Message too long

From: Doru-Catalin Togea (doru-cat_at_ifi.uio.no)
Date: 07/26/04


Date: Mon, 26 Jul 2004 18:04:07 +0200

Hi!

I have a programme where I use UDP sockets. There I call send(), and I
pass to it various amounts of data to send. For a YUV picture with
resolution 640x480 the size will be 460800 bytes. Of course I can compress
the picture and stuff, but I wonder what is the max size of the data the
send() call can handle at one time? I did manage to send 100+KB with one
call, in spite of the fact that a UDP diagram is max. 1500B long, if I
remember correctly.

I am running FC2 if that makes any differance.

Thanks,
Catalin

-- 
        <<<< ================================== >>>>
        <<     We are what we repeatedly do.      >>
        <<  Excellence, therefore, is not an act  >>
        <<             but a habit.               >>
        <<<< ================================== >>>>