Samchon Framework for CPP
1.0.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
main.cpp
1
#include <iostream>
2
#include <samchon/examples/console_chat_server/ChatServer.hpp>
3
4
#ifdef _WIN64
5
# ifdef _DEBUG
6
# pragma comment(lib, "x64/Debug/SamchonFramework.lib")
7
# else
8
# pragma comment(lib, "x64/Release/SamchonFramework.lib")
9
# endif
10
#else
11
# ifdef _DEBUG
12
# pragma comment(lib, "Debug/SamchonFramework.lib")
13
# else
14
# pragma comment(lib, "Release/SamchonFramework.lib")
15
# endif
16
#endif
17
18
using namespace
samchon::example::console_chat_server
;
19
20
void
main()
21
{
22
ChatServer
chatServer;
23
chatServer.
open
();
24
25
system(
"pause"
);
26
}
samchon::example::console_chat_server::ChatServer
A chat server.
Definition:
ChatServer.hpp:30
samchon::protocol::IServer::open
virtual void open()
Open the server.
Definition:
IServer.cpp:30
samchon::example::console_chat_server
A chat server.
Definition:
ChatClient.hpp:8
cpp
samchon
example
console_chat_server
main.cpp
Generated by
1.8.11