On Tue, Mar 9, 2010 at 8:34 AM, Oscar F
<address@hidden> wrote:
Hello everybody,
i´m using EVK1100 with AVR32 micro, and i´m sending a big packet to ethernet.
I use this function to send the packet to the receiver
do
{
if((pWrite_LOG-pRead_LOG)>(10*
1024))
{
send(aSocketAsincrono[0],(unsigned char*)(BufferTableLOG+pRead_LOG), (10*1024), 0);
pRead_LOG+=(10*1024);
}
else
{
send(aSocketAsincrono[0],(unsigned char*)(BufferTableLOG+ pRead_LOG),(pWrite_LOG-pRead_LOG), 0);
pRead_LOG=pWrite_LOG;
}
} while(pRead_LOG != pWrite_LOG);
During
the transsmission, in the ethernet ( with sniffer wireshark) i can see
a packet with this error text "Malformed packet:UCP" and i think the
packet is lost. I use TCP connection
anybody have any idea about this?
Thanks in advance
Regards
Oscar
--
"En la vida hay tres cosas que nunca dan marcha atras, la palabra pronunciada, la flecha lanzada y la oportunidad perdida"