From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-170.mimecast.com (us-smtp-delivery-170.mimecast.com [170.10.133.170]) by mx.groups.io with SMTP id smtpd.web10.7670.1626073668709168613 for ; Mon, 12 Jul 2021 00:07:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@phoenix.com header.s=mimecast20170203 header.b=kop977RQ; spf=pass (domain: phoenix.com, ip: 170.10.133.170, mailfrom: ken_taylor@phoenix.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phoenix.com; s=mimecast20170203; t=1626073666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=NwT4Yrj3a/wdxvZVK+q56dOHxY5dvzd3cBWUfYFGooo=; b=kop977RQxw0UIW7rnUjvA7zRhxlj9o2/qclacc9GN5v0aaWxfFlRqXoBDFFEOB0qem8SkZ IKck2pzyOgFdiGf8bV37LcoA/kT30eu9+z3J4Qkn9mslfzzWndX9PCXQhc59VH41cqC7o1 7kRt1VkR2TponaKeJtl/AuLoDkmftSE= Received: from SCL-EXCHMB-13.phoenix.com (67.51.239.50 [67.51.239.50]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-534-fJXiv2rfOeqVwwef2ZJgOA-1; Mon, 12 Jul 2021 03:07:44 -0400 X-MC-Unique: fJXiv2rfOeqVwwef2ZJgOA-1 X-CrossPremisesHeadersFilteredBySendConnector: SCL-EXCHMB-13.phoenix.com Received: from SCL-EXCHMB-13.phoenix.com (10.122.68.16) by SCL-EXCHMB-13.phoenix.com (10.122.68.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 12 Jul 2021 00:07:42 -0700 Received: from SCL-EXCHMB-13.phoenix.com ([fe80::fd2e:a8f8:f740:cb3b]) by SCL-EXCHMB-13.phoenix.com ([fe80::fd2e:a8f8:f740:cb3b%12]) with mapi id 15.00.1497.012; Mon, 12 Jul 2021 00:07:42 -0700 From: "Ken Taylor" To: "devel@edk2.groups.io" Subject: Using the TCP->Accept interface. Thread-Topic: Using the TCP->Accept interface. Thread-Index: Add26+RXIrRNzNhLS/q1wBT4MeglsA== Date: Mon, 12 Jul 2021 07:07:41 +0000 Message-ID: <8dd8572526864a0689d7de693903f0ca@SCL-EXCHMB-13.phoenix.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.122.40.60] MIME-Version: 1.0 X-OrganizationHeadersPreserved: SCL-EXCHMB-13.phoenix.com Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA70A150 smtp.mailfrom=ken_taylor@phoenix.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: phoenix.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_8dd8572526864a0689d7de693903f0caSCLEXCHMB13phoenixcom_" --_000_8dd8572526864a0689d7de693903f0caSCLEXCHMB13phoenixcom_ Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Hi all, I hate to ask this, but has anyone used or tested the standard NetworkPkg T= CP driver's socket Accept functionality? I've been trying to listen for a = connection, but I can't seem to figure out how to configure the TCP interfa= ce correctly for this. I know the local IP address and listening port, but obviously the remote IP= address and port won't be defined until a connection is established. But = if I try to configure one thing without the other, I get all kinds of EFI_I= NVALID_PARAMETER errors. And if I don't specify anything but the listening= port, I nothing seems able to connect. Regards, -Ken. --_000_8dd8572526864a0689d7de693903f0caSCLEXCHMB13phoenixcom_ Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable

Hi all,

 

I hate to ask this, but has anyone used or tested th= e standard NetworkPkg TCP driver’s socket Accept functionality? = I’ve been trying to listen for a connection, but I can’t seem = to figure out how to configure the TCP interface correctly for this.

 

I know the local IP address and listening port, but = obviously the remote IP address and port won’t be defined until a con= nection is established.  But if I try to configure one thing without t= he other, I get all kinds of EFI_INVALID_PARAMETER errors.  And if I don’t specify anything but the listening port= , I nothing seems able to connect.

 

Regards,

-Ken.

--_000_8dd8572526864a0689d7de693903f0caSCLEXCHMB13phoenixcom_--