lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Malformed packet:UCP


From: Oscar F
Subject: [lwip-users] Malformed packet:UCP
Date: Tue, 9 Mar 2010 08:34:37 +0100

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"

reply via email to

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