Udp
This commit is contained in:
committed by
Matthew McClaskey
parent
ba902f8194
commit
3b40a92548
11
common/network/webudp/WuHostNull.cpp
Normal file
11
common/network/webudp/WuHostNull.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "WuHost.h"
|
||||
|
||||
int32_t WuHostCreate(const char*, const char*, int32_t, WuHost** host) {
|
||||
*host = NULL;
|
||||
return WU_OK;
|
||||
}
|
||||
int32_t WuHostServe(WuHost*, WuEvent*, int) { return 0; }
|
||||
void WuHostRemoveClient(WuHost*, WuClient*) {}
|
||||
int32_t WuHostSendText(WuHost*, WuClient*, const char*, int32_t) { return 0; }
|
||||
int32_t WuHostSendBinary(WuHost*, WuClient*, const uint8_t*, int32_t) { return 0; }
|
||||
void WuHostSetErrorCallback(WuHost*, WuErrorFn) {}
|
||||
Reference in New Issue
Block a user