lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Maximum size in the function send


From: Oscar F
Subject: [lwip-users] Maximum size in the function send
Date: Sun, 17 Jan 2010 22:45:17 +0100

Hi!

I have a AVR32 in EVK1100. I have a big LOG about 29 Mbytes.

I need to send this buffer by my socket created.

Need i to divided the LOG?

I use this funcition
 send(aSocketAsincrono[0],(unsigned char*)(BufferTableLOG),lenght, 0);

At the moment i am going to divide the packet in block about 50Kbytes, but i not sure if the other size undertand my file.

Example:
send(aSocketAsincrono[0],(unsigned char*)(BufferTableLOG),50K, 0);
send(aSocketAsincrono[0],(unsigned char*)(BufferTableLOG+50K),50K, 0);
send(aSocketAsincrono[0],(unsigned char*)(BufferTableLOG+50K),50K, 0);
...
...
...

Can i use this form?

Thanks
Oliver








--
"En la vida hay tres cosas que nunca dan marcha atras, la palabra pronunciada, la flecha lanzada y la oportunidad perdida"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]