mirror of
https://github.com/Relintai/pandemonium_engine_minimal.git
synced 2025-01-04 20:59:36 +01:00
17 lines
314 B
C++
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;
|
|
}
|