Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
//this snippet just opens a server and stops it from closing.
#include "nn.hpp"
#include <iostream>

int main(){
runServer(9090, "PassTest");
// this part stops it from reaching the "return 0" line.
// the timer is so it does not eat up CPU power
std::string msg;
runServer(9090,"PassTest");


//this part stops it from reaching the "return 0" line.
//the timer is so it does not eat up CPU power
while(true){
std::this_thread::sleep_for(std::chrono::milliseconds(100));
}
Expand Down
1 change: 1 addition & 0 deletions wazxczfae
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
efgasdfaw
Loading