summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/sockets/sockets_translate.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* net: translate ECONNRESET network errorMonsterDruide12023-02-211-0/+2
|
* core, network: Add ability to proxy socket packetsFearlessTobi2022-08-151-0/+2
|
* yuzu: Add ui files for multiplayer roomsFearlessTobi2022-07-251-1/+1
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* core: Silence warnings when compiling without assertsReinUsesLisp2021-01-051-0/+1
|
* Merge pull request #5142 from comex/xx-poll-eventsRodrigo Locatti2020-12-091-25/+25
|\ | | | | network, sockets: Replace `POLL_IN`, `POLL_OUT`, etc. constants with an `enum class PollEvents`
| * network, sockets: Replace `POLL_IN`, `POLL_OUT`, etc. constants with an `enum class PollEvents`comex2020-12-071-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Actually, two enum classes, since for some reason there are two separate yet identical `PollFD` types used in the codebase. I get that one is ABI-compatible with the Switch while the other is an abstract type used for the host, but why not use `WSAPOLLFD` directly for the latter? Anyway, why make this change? Because on Apple platforms, `POLL_IN`, `POLL_OUT`, etc. (with an underscore) are defined as macros in <sys/signal.h>. (This is inherited from FreeBSD.) So defining a variable with the same name causes a compile error. I could just rename the variables, but while I was at it I thought I might as well switch to an enum for stronger typing. Also, change the type used for values copied directly to/from the `events` and `revents` fields of the host *native* `pollfd`/`WSASPOLLFD`, from `u32` to `short`, as `short` is the correct canonical type on both Unix and Windows.
* | core: Remove unnecessary enum casts in log callsLioncash2020-12-081-6/+6
|/ | | | | Follows the video core PR. fmt doesn't require casts for enum classes anymore, so we can remove quite a few casts.
* Revert "core: Fix clang build"bunnei2020-10-211-1/+0
|
* core: Fix clang buildLioncash2020-10-181-0/+1
| | | | | | | Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
* core/CMakeLists: Make some warnings errorsLioncash2020-10-131-8/+8
| | | | | | | | | Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors.
* sockets_translate: Make use of designated initializersLioncash2020-09-071-12/+12
| | | | Same behavior, less typing.
* service/sockets: Add translate functionsReinUsesLisp2020-07-281-0/+165
These functions translate from Network enumerations/structures to guest enumerations/structures and viceversa.