parent
53215e57b1
commit
374df4a92b
@ -174,7 +174,9 @@ namespace Aurora::IO::Net
|
||||
AuList<NetSocketConnectBase> names;
|
||||
for (auto &ip : *ips)
|
||||
{
|
||||
names.push_back(NetSocketConnectBase(ip, pThat->remoteEndpoint_.uPort));
|
||||
NetSocketConnectBase base(ip, pThat->remoteEndpoint_.uPort);
|
||||
base.byEndpoint.value().transportProtocol = this->remoteEndpoint_.transportProtocol;
|
||||
names.push_back(base);
|
||||
}
|
||||
|
||||
pThat->connectMany_.names = names;
|
||||
|
@ -228,7 +228,7 @@ namespace Aurora::IO::Net
|
||||
if (!this->pNetWriteTransaction_->StartWrite(0, pFrameToSend))
|
||||
{
|
||||
this->pParent_->ToWorkerEx()->DecrementIOEventTaskCounter();
|
||||
SysPushErrorIO("Couldn't dispatch the to-send frame");
|
||||
SysPushErrorIO("Couldn't dispatch the to-send frame, had: {} bytes remaining to send", pFrameToSend->length);
|
||||
this->pParent_->SendErrorBeginShutdown({});
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user