htcs: fix magic template argument deduction, do Close/Connect/Bind

This commit is contained in:
Michael Scire 2021-02-18 04:15:23 -08:00 committed by SciresM
parent f71943c03a
commit 0c791f2279
8 changed files with 135 additions and 23 deletions

View file

@ -34,7 +34,7 @@ namespace ams::htcs::impl {
/* TODO */
public:
Result CreateSocket(s32 *out_err, s32 *out_desc, bool enable_disconnection_emulation);
Result DestroySocket(s32 *out_err, s32 desc);
Result DestroySocket(s32 desc);
Result Connect(s32 *out_err, s32 desc, const SockAddrHtcs &address);
Result Bind(s32 *out_err, s32 desc, const SockAddrHtcs &address);
Result Listen(s32 *out_err, s32 desc, s32 backlog_count);