mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
[Netplay:Traversal] Add "Force Netplay Listen Port" feature that was in old netplay branch
This commit is contained in:
parent
63c373c843
commit
1f83a3d146
5 changed files with 54 additions and 14 deletions
|
@ -77,5 +77,5 @@ extern std::unique_ptr<TraversalClient> g_TraversalClient;
|
|||
// the NetHost connected to the TraversalClient.
|
||||
extern std::unique_ptr<ENetHost> g_MainNetHost;
|
||||
// Create g_TraversalClient and g_MainNetHost if necessary.
|
||||
bool EnsureTraversalClient(const std::string& server, u16 port);
|
||||
bool EnsureTraversalClient(const std::string& server, u16 server_port, u16 listen_port = 0);
|
||||
void ReleaseTraversalClient();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue