mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-22 16:30:57 +01:00
97a7381d29
Stubbed CreateMemoryBlock Using Berkeley sockets, and Winsock2.2 on Windows. So far ftpony creates the socket and accepts incoming connections SOC_U: Renamed functions to maintain consistency Also prevents possible scope errors / conflicts with the actual Berkeley socket functions SOCU: Close all the opened sockets when cleaning up SOCU
24 lines
509 B
C++
24 lines
509 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// Namespace SOC_U
|
|
|
|
namespace SOC_U {
|
|
|
|
class Interface : public Service::Interface {
|
|
public:
|
|
Interface();
|
|
~Interface();
|
|
|
|
std::string GetPortName() const override {
|
|
return "soc:U";
|
|
}
|
|
};
|
|
|
|
} // namespace
|