aboutsummaryrefslogtreecommitdiff
path: root/src/network/room.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [common] unify std::random_device (#3801)lizzie2026-03-311-3/+1
| | | | | | | | Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3801 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [common/logging] Simplify logging logic and fix issues when logging before ↵lizzie2026-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | system is created (#3688) - our logging code was bigger than spdlog itself, why???? just keep it simple - fix issues when logging before logging system is even started - removes the "initialized logging twice" issue - removes uneeded indirection in file logging - uses direct formatting instead of jumping hoopla-around the fmt::format() ressult - code duplication and dead code removal as usual I did explore dup2() but I think it's not worth the hassle I did try `fwopen()` but it's better if things are just kept as-is. there is a lot of noise because I removed a bunch of redundant files on logging and just put everything in one file now normally this wouldn't be a good idea, however consider: the complexity of logging; it's less than 500 lines... does it really need a whole subsystem?!?!?! ITS JUST LOGGING Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3688 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: DraVee <chimera@dravee.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [network, qt] use jthread and use std::vector for packet list instead of ↵lizzie2026-02-111-53/+48
| | | | | | | | | | | std::list (#254) Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/254 Reviewed-by: DraVee <dravee@eden-emu.dev> Reviewed-by: Maufeat <sahyno1996@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [network] Fix potential infinite hang when generating fake IPs (#2898)lizzie2025-10-311-8/+9
| | | | | | | | | | | ALWAYS bound your loops :) Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2898 Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [cmake] enable clang-cl and WoA builds (#348)lizzie2025-09-091-1/+1
| | | | | | | | | | | | | | Compilation and CMake fixes for both Windows on ARM and clang-cl, meaning Windows can now be built on both MSVC and clang on both amd64 and aarch64. Compiling on clang is *dramatically* faster so this should be useful for CI. Co-authored-by: crueter <crueter@eden-emu.dev> Co-authored-by: crueter <crueter@crueter.xyz> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/348 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* Fix License headers & CI (#168)crueter2025-06-091-4/+3
| | | | | | | Signed-off-by: crueter <swurl@swurl.xyz> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/168 Co-authored-by: crueter <swurl@swurl.xyz> Co-committed-by: crueter <swurl@swurl.xyz>
* Added the public lobby to android. (#125)Aleksandr Popovich2025-06-051-1/+1
| | | | | | | | | | | | | | | | | | | This is adapted from kleidis old PR to Azahar. Changes from it: - Fixed inconsistent button styling in the dialog for connection - Allowed to hide both empty and full rooms. - Proper serving of preferred games - Enables web service for android by default - Better implementation of multiplayer.cpp that works with oop Also fixes the room network class and turns it into a static namespace in network Signed-off-by: Aleksandr Popovich <alekpopo@pm.me> Co-authored-by: swurl <swurl@swurl.xyz> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/125 Co-authored-by: Aleksandr Popovich <alekpopo@pm.me> Co-committed-by: Aleksandr Popovich <alekpopo@pm.me>
* android: Add initial frontend for LAN network rooms (#76)Briar2025-05-031-5/+14
| | | | | | Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/76 Co-authored-by: Briar <205427297+icy-briar@users.noreply.github.com> Co-committed-by: Briar <205427297+icy-briar@users.noreply.github.com>
* msvc: set warning level to /W4 globallyDanila Malyutin2023-09-031-1/+1
| | | | And fix a bunch of warnings
* general: fix spelling mistakesLiam2023-03-121-1/+1
|
* ldn: Initial implementationFearlessTobi2022-09-091-0/+63
|
* yuzu: Display current game version in multiplayer roomFearlessTobi2022-08-271-4/+8
| | | | Makes it easier for users to recognize connection errors caused by different game versions.
* network: Use lower timeout for enet_host_serviceFearlessTobi2022-08-271-1/+1
| | | | This allows us to have a 10x higher throughput of packets by using a much shorter waiting time.
* core, network: Add ability to proxy socket packetsFearlessTobi2022-08-151-102/+68
|
* network: Address review commentsFearlessTobi2022-07-251-71/+71
|
* network, yuzu: Make copyright headers SPDX-compliantFearlessTobi2022-07-251-3/+2
|
* network, yuzu: Improve variable naming and style consistencyFearlessTobi2022-07-251-8/+8
|
* common: multiplayer: Use GameInfo typegerman772022-07-251-5/+3
|
* Address second part of review commentsFearlessTobi2022-07-251-3/+4
|
* Fix compilation on linux gccFearlessTobi2022-07-251-9/+10
|
* yuzu: Add ui files for multiplayer roomsFearlessTobi2022-07-251-4/+4
|
* network: Add initial files and enet dependencyFearlessTobi2022-07-251-0/+1111
|
* Massive removal of unused modulesJames Rowe2018-01-121-497/+0
|
* Added missing parts in libnetwork (#2838)B3n302017-08-191-21/+63
| | | | | * Network: Set and send the game information over enet Added Callbacks for RoomMember and GetMemberList to Room in preparation for web_services.
* Network: Moved NintendoOUI initalization to RoomMember constructorB3n302017-07-261-2/+3
|
* Network: Changed timeout for receiving packets to 100msB3n302017-07-161-13/+13
|
* Network: Propagate Room closing to connected membersB3n302017-07-161-0/+21
|
* Network: Made send async in RoomMemberB3n302017-07-161-4/+31
|
* Network: Send the game titleB3n302017-07-161-25/+69
|
* Network: Enable sending and receiving chat messagesB3n302017-07-161-0/+38
|
* Network: Handle the disconnect of a clientB3n302017-07-161-1/+18
|
* Network: Enable to send WifiPacketsB3n302017-07-161-1/+18
|
* Network: Handle join request in RoomB3n302017-07-161-1/+199
|
* Network: Threads for Room and RoomMemberB3n302017-07-161-3/+35
|
* Implement basic virtual Room support based on enet (#2803)B3n302017-07-071-0/+60
* Added support for network with ENet lib, connecting is possible, but data can't be sent, yet. * fixup! Added support for network with ENet lib, * fixup! CLang * fixup! Added support for network with ENet lib, * fixup! Added support for network with ENet lib, * fixup! Clang format * More fixups! * Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Clang again * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes