Files
ps5-payload-manager/include/utils.h
T
najdek 574871d34d feat: add native notifications, real IP resolution, and automated deployment
- 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.
2026-04-19 15:27:27 +02:00

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