mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-24 03:22:26 +00:00
Test authentication
This commit is contained in:
parent
1d1df3bf7a
commit
fab8765c2f
@ -149,6 +149,7 @@ int main() {
|
|||||||
EQ::Net::ServertalkServer server;
|
EQ::Net::ServertalkServer server;
|
||||||
EQ::Net::ServertalkServerOptions opts;
|
EQ::Net::ServertalkServerOptions opts;
|
||||||
opts.port = 5999;
|
opts.port = 5999;
|
||||||
|
opts.credentials = "User:Root;Password:1234567890";
|
||||||
server.Listen(opts);
|
server.Listen(opts);
|
||||||
|
|
||||||
server.OnConnectionIdentified("QueryServ", [](std::shared_ptr<EQ::Net::ServertalkServerConnection> conn) {
|
server.OnConnectionIdentified("QueryServ", [](std::shared_ptr<EQ::Net::ServertalkServerConnection> conn) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user