pandemonium_engine_minimal/core/io/net_socket.cpp

17 lines
314 B
C++

/* net_socket.cpp */
#include "net_socket.h"
NetSocket *(*NetSocket::_create)() = nullptr;
NetSocket *NetSocket::create() {
if (_create) {
return _create();
}
ERR_PRINT("Unable to create network socket, platform not supported");
return nullptr;
}