mirror of
https://github.com/devkitPro/wut.git
synced 2026-07-30 06:27:57 -05:00
* The stream will stay open until either an error occurs, WHBCommandServerStop is called, or a null string is returned (the client socket had been closed). * The header file now includes wut.h, so that BOOL is defined.
30 lines
345 B
C
30 lines
345 B
C
#pragma once
|
|
#include <wut.h>
|
|
|
|
/**
|
|
* \defgroup whb_commandserver Network Command Server
|
|
* \ingroup whb
|
|
* @{
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define WHB_SERVER_BUFFER_SIZE 1024
|
|
|
|
BOOL
|
|
WHBCommandServerInit();
|
|
|
|
void
|
|
WHBCommandServerStop();
|
|
|
|
BOOL
|
|
WHBCommandServerListen(char * stringLocation);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|