mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-19 02:36:27 +01:00

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);
|
|
|
|
}
|