Hey readers!
Im currently looking over the netplay code of dolphin (in github) and hope someone of you might help.
My question is if someone of you knows where the netplay thread runs cuz i want to know from where this method gets called: (click here for direct link)
I would appreciate if you can help me.
Cya,
FluentCoding
Im currently looking over the netplay code of dolphin (in github) and hope someone of you might help.
My question is if someone of you knows where the netplay thread runs cuz i want to know from where this method gets called: (click here for direct link)
Code:
// called from ---NETPLAY--- thread
void NetPlayClient::OnConnectFailed(u8 reason)
{
m_connecting = false;
m_connection_state = ConnectionState::Failure;
switch (reason)
{
case TraversalConnectFailedClientDidntRespond:
PanicAlertT("Traversal server timed out connecting to the host");
break;
case TraversalConnectFailedClientFailure:
PanicAlertT("Server rejected traversal attempt");
break;
case TraversalConnectFailedNoSuchClient:
PanicAlertT("Invalid host");
break;
default:
PanicAlertT("Unknown error %x", reason);
break;
}
}
I would appreciate if you can help me.
Cya,
FluentCoding