<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
Hi Ken,<br>
<br>
When calling Tcp4->Configure(), what is your
EFI_TCP4_CONFIG_DATA.AccessPoint.ActiveFlag value?<br>
ActiveFlag should be set to FALSE and RemoteAddress set to zero in
order to accept connection requests from any address.<br>
<br>
You should be able to double check the fields above by calling
Tcp4->GetModeData() right before Tcp4->Accept() and analyzing
Ip4ConfigData result.<br>
<br>
Thanks,<br>
Maciej<br>
<br>
<div class="moz-cite-prefix">On 12-Jul-21 09:07, Ken Taylor wrote:<br>
</div>
<blockquote type="cite"
cite="mid:8dd8572526864a0689d7de693903f0ca@SCL-EXCHMB-13.phoenix.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style>@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"\@PMingLiU";
panose-1:2 2 5 0 0 0 0 0 0 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I hate to ask this, but has anyone used or
tested the 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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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_INVALID_PARAMETER errors. And if I don’t specify anything
but the listening port, I nothing seems able to connect.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">-Ken.<o:p></o:p></p>
</div>
</blockquote>
<br>
</body>
</html>
<div width="1" style="color:white;clear:both">_._,_._,_</div> <hr> Groups.io Links:<p> You receive all messages sent to this group. <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/77701">View/Reply Online (#77701)</a> | | <a target="_blank" href="https://groups.io/mt/84148178/1813853">Mute This Topic</a> | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br> <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> | <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a> [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>