Files
AnyPS5/docs/dev/debt/libSceCompanionHttpd.md
T

2.6 KiB

libSceCompanionHttpd technical debt

Unknown function info

Functional

  • Companion server state (libSceCompanionHttpd) - no HTTP server listens, so no companion device ever connects: sceCompanionHttpdGetEvent returns NO_EVENT without writing the event and the request callback is never called. Initialization, callback registration and start and stop are tracked with the errors of shadPS4's companion_error.h (ALREADY_REGISTERED is 0x80E4000C, between NOT_STARTED and NOT_CONNECTED; the header has 0x80E4000, one digit short). Unregistering with no callback and terminating a started server throw, since the console's answers are unknown. Not measured on a console. Closes when: a companion server is hosted