mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-02 05:11:44 +01:00
[net] refactor to remove uneeded abstraction layer
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
37fe911952
commit
967b27b9c5
24 changed files with 847 additions and 1299 deletions
|
|
@ -1,3 +1,6 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
|
|
@ -16,9 +19,11 @@ TEST_CASE("Network::Errors", "[core]") {
|
|||
}
|
||||
|
||||
Network::SockAddrIn addr{
|
||||
16,
|
||||
Network::Domain::INET,
|
||||
{127, 0, 0, 1},
|
||||
1, // hopefully nobody running this test has something listening on port 1
|
||||
{127, 0, 0, 1},
|
||||
{},
|
||||
};
|
||||
REQUIRE(socks[0].Connect(addr) == Network::Errno::CONNREFUSED);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue