parent
53215e57b1
commit
374df4a92b
@ -174,7 +174,9 @@ namespace Aurora::IO::Net
|
|||||||
AuList<NetSocketConnectBase> names;
|
AuList<NetSocketConnectBase> names;
|
||||||
for (auto &ip : *ips)
|
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;
|
pThat->connectMany_.names = names;
|
||||||
|
@ -228,7 +228,7 @@ namespace Aurora::IO::Net
|
|||||||
if (!this->pNetWriteTransaction_->StartWrite(0, pFrameToSend))
|
if (!this->pNetWriteTransaction_->StartWrite(0, pFrameToSend))
|
||||||
{
|
{
|
||||||
this->pParent_->ToWorkerEx()->DecrementIOEventTaskCounter();
|
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({});
|
this->pParent_->SendErrorBeginShutdown({});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user