Hi Ken,
When calling Tcp4->Configure(), what is your
EFI_TCP4_CONFIG_DATA.AccessPoint.ActiveFlag value?
ActiveFlag should be set to FALSE and RemoteAddress set to zero in order
to accept connection requests from any address.
You should be able to double check the fields above by calling
Tcp4->GetModeData() right before Tcp4->Accept() and analyzing
Ip4ConfigData result.
Thanks,
Maciej
On 12-Jul-21 09:07, Ken Taylor wrote:
Hi all,
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.
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.
Regards,
-Ken.
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#77701): https://edk2.groups.io/g/devel/message/77701
Mute This Topic: https://groups.io/mt/84148178/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-