repo.or.cz
/
link.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Massive update!
[link.git]
/
Source
/
main.cpp
blob
1e017f6ac2688cf245cf72e1e3343aab03bca9b2
1
#include <iostream>
2
#include
"HTTP/ServerThread.hpp"
3
4
bool
Running
=
true
;
5
6
void
exiting
() {
7
Running
=
false
;
8
}
9
10
int
main
() {
11
std
::
atexit
(
exiting
);
12
std
::
cout
<<
"[Initializing HTTP Server Thread]"
<<
std
::
endl
;
13
HTTP
::
ServerThread
serverThread
(
3000
,
100
,
10
, &
Running
);
14
return
0
;
15
}