mirror of
https://github.com/itsPLK/ps5-payload-manager.git
synced 2026-10-23 12:23:12 -05:00
- Implemented native PS5 on-screen debug notifications via sceKernelSendNotificationRequest.
- Added robust local IP resolution using getifaddrs to replace placeholder IP.
- Migrated server port from 50005 to 8084 across the entire stack.
- Added a startup notification on the PS5 screen displaying version, IP, and port.
- Created deploy.sh script for fully automated build and deployment:
- Automatically requests shutdown of previous instance.
- Rebuilds both React frontend and native ELF.
- Performs unidirectional ELF transfer via socat and exits immediately.
- Updated Makefile and README with new deployment workflow.
15 lines
226 B
C
15 lines
226 B
C
#pragma once
|
|
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Gets the local IP address. Returns 0 on success, -1 on failure. */
|
|
int nm_get_local_ip(char *ip_buf, size_t buf_size);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|