Test authentication

This commit is contained in:
KimLS 2016-10-23 18:01:39 -07:00
parent 1d1df3bf7a
commit fab8765c2f

View File

@ -149,6 +149,7 @@ int main() {
EQ::Net::ServertalkServer server;
EQ::Net::ServertalkServerOptions opts;
opts.port = 5999;
opts.credentials = "User:Root;Password:1234567890";
server.Listen(opts);
server.OnConnectionIdentified("QueryServ", [](std::shared_ptr<EQ::Net::ServertalkServerConnection> conn) {