From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id A64D694183E for ; Fri, 27 Oct 2023 16:27:28 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=SoILAVqhQHOjRSGy5xinownuiniiYpCb2wEY6E2jLYI=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1698424047; v=1; b=kl8lHvUNLOkPnPS8zIkOt8swaJYgJbxqQR2cLxR70A/z2V0NrT5O0CMRJ7jR3ZexRGaClKl3 SNTchAYdS2C5hWeWXgImGmw9nnRgwS7TDZd+jnNVOQy330R33s6T7j3JHr/1ogY182BSZAOYHXg CUEQmGKIe0c0ulC4UC6NLf74= X-Received: by 127.0.0.2 with SMTP id BFIVYY7687511xYAN4ErMPu3; Fri, 27 Oct 2023 09:27:27 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web10.11385.1698424046415295725 for ; Fri, 27 Oct 2023 09:27:26 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10876"; a="372857756" X-IronPort-AV: E=Sophos;i="6.03,256,1694761200"; d="scan'208";a="372857756" X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2023 09:27:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10876"; a="825386263" X-IronPort-AV: E=Sophos;i="6.03,256,1694761200"; d="scan'208";a="825386263" X-Received: from rboorax-mobl1.gar.corp.intel.com (HELO njayapra-mobl.gar.corp.intel.com) ([10.213.67.125]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2023 09:27:24 -0700 From: "Jayaprakash, N" To: devel@edk2.groups.io Cc: Jayaprakash N Subject: [edk2-devel] [edk2-libc Patch 0/1] AppPkg/Python - Sample scripts to exercise socket functionality Date: Fri, 27 Oct 2023 21:57:17 +0530 Message-Id: <20231027162718.830-1-n.jayaprakash@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,n.jayaprakash@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: VNn77iYDsifO9W09jVNwjRcux7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=kl8lHvUN; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io This commit provides 2 sample scripts namely http_echo_client.py and http_echo_server.py to exercise the socket capabilities on UEFI shell using the http library from Python UEFI interpreter. Jayaprakash N (1): ek2-libc: Sample python scripts for socket client capabilities on UEFI shell .../PyMod-3.6.8/Lib/http_echo_client.py | 81 +++++++++++++++++++ .../PyMod-3.6.8/Lib/http_echo_server.py | 61 ++++++++++++++ 2 files changed, 142 insertions(+) create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/http_echo_client.py create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/http_echo_server.py -- 2.40.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110221): https://edk2.groups.io/g/devel/message/110221 Mute This Topic: https://groups.io/mt/102224954/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-