build
This commit is contained in:
@@ -48,7 +48,7 @@ void ServerModule::startServer(int p) {
|
||||
pollGroup = interface->CreatePollGroup();
|
||||
if ( pollGroup == k_HSteamNetPollGroup_Invalid )
|
||||
std::cerr << "Failed to listen on port " << port << std::endl;
|
||||
//Printf( "Server listening on port %d\n", port );
|
||||
std::cerr << "Server listening on port " << port << std::endl;
|
||||
|
||||
running = true;
|
||||
}
|
||||
|
||||
@@ -30,6 +30,8 @@ class ServerModule : public Archimedes::Module {
|
||||
DataSent = 1 << 2
|
||||
};
|
||||
|
||||
bool isRunning() const { return running; }
|
||||
|
||||
void shouldHandleEvents(unsigned int events) { eventsToHandle = events; }
|
||||
|
||||
void sendReliable(HSteamNetConnection client, const void* data, uint32 byteCount) {
|
||||
|
||||
Reference in New Issue
Block a user