According to TCP4->Receive() protocol definition in UEFI spec, once the receive 
operation completes, the receive token will be signaled; if the received data 
size is smaller than the receive buffer length, the DataLength field will be 
updated to record the full length of received data.

When you say the machine becomes unresponsive, do you mean the receive token is 
not signaled in the case?

And for your reference, there is a DxeTcpIoLib in MdeModulePkg which implements 
a TcpIoReceive based on TCP->Receive API.

Best Regards,
Ye Ting

From: David Satfire [mailto:dsatf...@gmail.com]
Sent: Thursday, August 07, 2014 5:07 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] TCP4 issues on Intel(R) Desktop Board DQ77MK UEFI 2.3.1 
Development Kit

Hello,

I'm currently developing UEFI applications and using the IntelĀ® Desktop Board 
DQ77MK UEFI 2.3.1 Development Kit(UDK2010) for testing. I'm having some issues 
while attempting to receive data from the network. Specifically, when calling 
Tcp4->Receive with a DataLength and FragmentBuffer larger than the amount of 
data in the received packet the machine becomes unresponsive. Currently, I am 
able to work around this issue by calling Tcp4->Receive for one byte at a time, 
but this is neither efficient nor applicable for my intentions. Has anyone else 
run into this issue before or have any inkling to what may be the root cause of 
this behavior? Your help would be greatly appreciated.

Thank you,

David Cannady
Def-Logix
dsatf...@gmail.com<mailto:dsatf...@gmail.com>
dcann...@def-logix.com<mailto:dcann...@def-logix.com>
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to