mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-02 17:31:22 +01:00
e0ef8fc03f
Otherwise, it would work but any async sending would be delayed by 4ms or wait until the next packet was received. Also increase the client timeout to 250ms, since enet_host_service is now really interrupted.
17 lines
302 B
C++
17 lines
302 B
C++
// Copyright 2015 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
//
|
|
#pragma once
|
|
|
|
#include <enet/enet.h>
|
|
#include "Common.h"
|
|
|
|
namespace ENetUtil
|
|
{
|
|
|
|
void WakeupThread(ENetHost* host);
|
|
int ENET_CALLBACK InterceptCallback(ENetHost* host, ENetEvent* event);
|
|
|
|
}
|