libnx
v4.8.0
|
Netloader (nxlink) utilities. More...
#include "../types.h"
Go to the source code of this file.
Macros | |
#define | NXLINK_SERVER_PORT 28280 |
nxlink TCP server port | |
#define | NXLINK_CLIENT_PORT 28771 |
nxlink TCP client port | |
Functions | |
int | nxlinkConnectToHost (bool redirStdout, bool redirStderr) |
Connects to the nxlink host, setting up an output stream. More... | |
static int | nxlinkStdio (void) |
Same as nxlinkConnectToHost but redirecting both stdout/stderr. | |
static int | nxlinkStdioForDebug (void) |
Same as nxlinkConnectToHost but redirecting only stderr. | |
Variables | |
struct in_addr | __nxlink_host |
Address of the host connected through nxlink. | |
Netloader (nxlink) utilities.
int nxlinkConnectToHost | ( | bool | redirStdout, |
bool | redirStderr | ||
) |
Connects to the nxlink host, setting up an output stream.
[in] | redirStdout | Whether to redirect stdout to nxlink output. |
[in] | redirStderr | Whether to redirect stderr to nxlink output. |