mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.Developing Turtle
git-svn-id: svn://ultimatepp.org/upp/trunk@6800 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f0712dd9c1
commit
fa0d3e931b
4 changed files with 11 additions and 0 deletions
|
|
@ -123,6 +123,10 @@ bool Ctrl::IsWaitingEvent()
|
|||
while(socket.Timeout(0).WaitRead()) {
|
||||
socket.Timeout(20000);
|
||||
String s = websocket.Recieve();
|
||||
if(s.IsVoid()) { // No data returned -> means EOF was reached
|
||||
TurtleWhenDisconnect();
|
||||
Exit(0);
|
||||
}
|
||||
LLOG("Recieved data " << s);
|
||||
StringStream ss(s);
|
||||
while(!ss.IsEof())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue