mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.reference
git-svn-id: svn://ultimatepp.org/upp/trunk@11338 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6ce89b3764
commit
ec50aea5d4
4 changed files with 3 additions and 16 deletions
|
|
@ -66,10 +66,11 @@ CONSOLE_APP_MAIN
|
|||
LOG("WebSocket closed, current count: " << worker.GetCount());
|
||||
}
|
||||
}
|
||||
if(sel[0])
|
||||
if(sel[0]) {
|
||||
if(!worker.Add().ws.NonBlocking().Accept(server))
|
||||
worker.Drop();
|
||||
else
|
||||
LOG("WebSocket accepted, current count: " << worker.GetCount());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using namespace Upp;
|
|||
void ClientEmulation()
|
||||
{
|
||||
Thread::Start([] {
|
||||
#if 0 // change to 1 to dome single request
|
||||
#if 0 // change to 1 to do single request
|
||||
Sleep(500);
|
||||
WebSocket ws;
|
||||
ws.Connect("ws://127.0.0.1:12321");
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
uses Core;
|
||||
|
||||
file
|
||||
Client.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "";
|
||||
Loading…
Add table
Add a link
Reference in a new issue