From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=193.142.112.100; helo=proxymail.itti.com.pl; envelope-from=ivan.novgorodtsev@itti.com.pl; receiver=edk2-devel@lists.01.org Received: from proxymail.itti.com.pl (ns1.itti.com.pl [193.142.112.100]) by ml01.01.org (Postfix) with ESMTP id AD6D42194D3B8 for ; Fri, 1 Feb 2019 04:41:20 -0800 (PST) Received: from proxymail.itti.com.pl (ns1.itti.com.pl [193.142.112.100]) by proxymail.itti.com.pl (Postfix) with ESMTP id B89F12EB5E for ; Fri, 1 Feb 2019 13:41:17 +0100 (CET) Received: by proxymail.itti.com.pl (Postfix, from userid 65534) id A33BA2EB93; Fri, 1 Feb 2019 13:41:17 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on proxymail.itti.com.pl X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.5 tests=ALL_TRUSTED,HTML_MESSAGE, T_SUBJ_BRKN_WORDNUMS autolearn=unavailable version=3.3.1 Received: from newmailer.itti.com.pl (ip-193-142-112-109.inqbator.poznan.pl [193.142.112.109]) by proxymail.itti.com.pl (Postfix) with ESMTP id 554042EB5E for ; Fri, 1 Feb 2019 13:41:17 +0100 (CET) To: edk2-devel@lists.01.org From: Ivan Novgorodtsev Message-ID: <7ea89f16-659e-d34e-4e63-da60ee81a7c4@itti.com.pl> Date: Fri, 1 Feb 2019 13:41:17 +0100 MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: LocateProtocol - gEfiTcp4ServiceBindingProtocolGuid X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2019 12:41:22 -0000 Content-Language: pl Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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