We don’t have plan to support Cancel() interface. According to UEFI spec, 
EFI_UNSUPPORTED is a permitted returned status of TCP->Cancel().

Best Regards,
Ye Ting

From: Thomas Rognon [mailto:tcrog...@gmail.com]
Sent: Tuesday, August 26, 2014 10:45 AM
To: edk2-devel
Subject: [edk2] EFI_TCP4_PROTOCOL->Cancel() not implemented

Is there any plan to implement EFI_TCP4_PROTOCOL->Cancel()? Right now it's just 
a stub that returns EFI_UNSUPPORTED.

https://github.com/tianocore/edk2/blob/master/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Main.c

I'll have to use timers again to hack my way around this.

Also, TcpIoLib's TcpIoReceive() relies on Cancel() and thus breaks after an 
EFI_TIMEOUT since Cancel() doesn't do anything.

Thomas Rognon
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to