
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
25 lines
509 B
C++
25 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
|