public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* LocateProtocol - gEfiTcp4ServiceBindingProtocolGuid
@ 2019-02-01 12:41 Ivan Novgorodtsev
  2019-02-02  1:27 ` Ye, Ting
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Novgorodtsev @ 2019-02-01 12:41 UTC (permalink / raw)
  To: edk2-devel

Hi,
I'm having trouble with sending a tcp packet from UEFI Application. I'm 
using code from this github: 
https://github.com/YunWang/uefi-programming-guider/tree/master/book/Network

I attached two screenshot were I suppose something went wrong. In first 
one, at lines 91-94  LocateProtocol triggers return. Second screenshot 
shows the error. Settings:

*BootCheck.inf*

[Packages]
   MdePkg/MdePkg.dec
   MdeModulePkg/MdeModulePkg.dec
   ShellPkg/ShellPkg.dec

[LibraryClasses]
   UefiApplicationEntryPoint
   UefiLib
   UefiBootServicesTableLib
   #used in application
   ShellLib

[Protocols]
   gEfiShellProtocolGuid
   gEfiTcp4ServiceBindingProtocolGuid
   gEfiTcp4ProtocolGuid

*Nt32Pkg.dsc*

[LibraryClasses.common.UEFI_APPLICATION]
   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
PrintLib|MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf
   #added below for application
   ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf

In the background simple C# TCP Server is running, I can connect to it 
for example using another C# app or using PuTTY.

I would appreciate any useful information, thank you.
Kind regards, Ivan




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-11  3:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-01 12:41 LocateProtocol - gEfiTcp4ServiceBindingProtocolGuid Ivan Novgorodtsev
2019-02-02  1:27 ` Ye, Ting
     [not found]   ` <16dfeda839c61d6162ac0a72e224b200.squirrel@newmailer.itti.com.pl>
2019-02-11  3:34     ` Ye, Ting

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox